Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've written a macro that formats data then copies a range to an
email. It works fine when run from the VBE where I did all my testing. When I moved it onto the end-users desktop and assigned a shortcut key it stopped working properly. If run by way of the shortcut key it runs through the first few lines of code and then exits the macro completely. It still works if I go to ToolsMacroRun Set wbCurr = ActiveWorkbook Set wsRaw = wbCurr.Worksheets(1) sTempFilePath = "R:\CDR\Cust Serv\DailyStatsTemplate \DailyStatsTemplate.xls" Set wbTemplate = Workbooks.Open(sTempFilePath) After opening the template workbook the macro ends completely. I've never run into anything like this. Any help would be appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shortcut key not running macro properly | Excel Discussion (Misc queries) | |||
Excel 2000 running on Windows XP SP2 does not properly open CSV fi | Excel Discussion (Misc queries) | |||
Running a shortcut | Excel Programming | |||
Macro shortcut keys not work properly | Excel Programming | |||
Running a macro from a desktop icon shortcut | Excel Programming |