Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Moving Excel Macro Problems
I have created an Excel Macro that opens two other excel files combines
the data and then formats it for easy reading. On my computer it works fine but when I move it to other computers it never works properly. The most common problem is it says it can't find the files to open. But the path and file it says it can't find, exsists where it should be. Currently my code changes to the current directory and then opens the file. Would it be better to just include the entire path in the Workbooks.open Filename = _"filename" command line? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Moving Excel Macro Problems
Yes, use the full path.
RBS wrote in message ups.com... I have created an Excel Macro that opens two other excel files combines the data and then formats it for easy reading. On my computer it works fine but when I move it to other computers it never works properly. The most common problem is it says it can't find the files to open. But the path and file it says it can't find, exsists where it should be. Currently my code changes to the current directory and then opens the file. Would it be better to just include the entire path in the Workbooks.open Filename = _"filename" command line? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Page layout problems after moving worksheet | Excel Worksheet Functions | |||
Moving spreadsheet rows with photos Problems in Excel 2007 | New Users to Excel | |||
Problems with Photos Moving | Excel Discussion (Misc queries) | |||
problems with Add-In event procedures when moving WB files between computers | Excel Programming | |||
Moving and parsing data - Copy & Paste problems | Excel Programming |