Name of workbook

  • Thread starter Andrew Ofthesong
  • Start date
A

Andrew Ofthesong

Hi, if i have 2 open workbooks: wb1 and wb2, and i have a macro in wb2 named
"MacroOnWb2"

How can i make a reference to worbook wb2 independentlly if i',m running the
macro having wb1 as active workbook or wb2?

PD: supouse i perhaps rename the workbooks, so "workbooks("wb2")" is also
not the ebst idea...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top