Application.run

  • Thread starter J cs via OfficeKB.com
  • Start date
J

J cs via OfficeKB.com

Newbie question: I am trying to call a module within the current workbook but the following code is incorrect. I need to use activeworkbook.name becuase the file can be saved as a differenct filename and I don't want the macro to not run because the filename can't be found. I am guessing I am missing parenthesis or quotes somewhere.

Application.Run ActiveWorkbook.Name!CopyFromRow

Thanks in advance for the help.
 
D

Don Guillett

If your macro name is Joe then just use

call joe
or just
joe

--
Don Guillett
SalesAid Software
(e-mail address removed)
J cs via OfficeKB.com said:
Newbie question: I am trying to call a module within the current workbook
but the following code is incorrect. I need to use activeworkbook.name
becuase the file can be saved as a differenct filename and I don't want the
macro to not run because the filename can't be found. I am guessing I am
missing parenthesis or quotes somewhere.
 

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