Calling Excel Macros

D

derek michael

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...
 
K

Ken Snell [MVP]

No, I believe it can have spaces, just delimit the name with ' characters.

"'SHEET.xls'!macro"
 
Top