Calling Excel Macros

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it knowen that when using the

Application.Run command for calling a excel file macro, that
"SHEET.xls!macro" that the SHEET name, can not have spaces? Ex. "Run This
Macro.xls" vs "RunThisMacro.Xls" . Odd...
 
No, I believe it can have spaces, just delimit the name with ' characters.

"'SHEET.xls'!macro"
 
Back
Top