Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page layout problems after moving worksheet BonBonSpeecher Excel Worksheet Functions 0 September 22nd 09 12:36 AM
Moving spreadsheet rows with photos Problems in Excel 2007 Sprog New Users to Excel 0 December 5th 08 07:17 PM
Problems with Photos Moving Nina Excel Discussion (Misc queries) 2 July 16th 08 01:22 PM
problems with Add-In event procedures when moving WB files between computers jon Excel Programming 2 April 29th 04 04:47 PM
Moving and parsing data - Copy & Paste problems Nick R Excel Programming 2 February 12th 04 10:35 AM


All times are GMT +1. The time now is 10:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"