M
Mark Schneider
Hi,
would be nice if anyone could give me a hint on this:
I try to determine to which .xls-File a macro is belonging to (using vba).
In the VBA Editor you can open up the branch for any open file and start a
macro.
BUT: e.g. "activeworkbook" can refer to another workbook.
e.g.
sub test()
msgbox "I am running in workbook " & <anywaytodeterminethat??>
end sub
I need to determine to which branch/parent xls-File the current macro is
belonging,
the Access VBA ways I have in mind (codeproject, module) don't seem to help
here.
Any hints?
TIA
Mark
would be nice if anyone could give me a hint on this:
I try to determine to which .xls-File a macro is belonging to (using vba).
In the VBA Editor you can open up the branch for any open file and start a
macro.
BUT: e.g. "activeworkbook" can refer to another workbook.
e.g.
sub test()
msgbox "I am running in workbook " & <anywaytodeterminethat??>
end sub
I need to determine to which branch/parent xls-File the current macro is
belonging,
the Access VBA ways I have in mind (codeproject, module) don't seem to help
here.
Any hints?
TIA
Mark