Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default macro pointing to wrong folder

We use a macro that is stored in the "personal" file in the XLSTART
folder of the local drive. A new employee wanted the macro, so I
copied it to his folder on the network drive and installed it on his
local drive and it works fine, however, my macros now look to his
folder on the network drive whenever I try to run them. I have looked
at the modules in VB and they are all pointed to the correct folder on
my local drive, so why does the macro try to map out to the network
drive? Is there a set-up in Excel that I have corrupted and need to
change?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default macro pointing to wrong folder

Are you sure you don't have a shortcut to your new employee's folder instead
of an actual Personal.xls in your \XLSTART\ folder?
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"ankur" wrote:

We use a macro that is stored in the "personal" file in the XLSTART
folder of the local drive. A new employee wanted the macro, so I
copied it to his folder on the network drive and installed it on his
local drive and it works fine, however, my macros now look to his
folder on the network drive whenever I try to run them. I have looked
at the modules in VB and they are all pointed to the correct folder on
my local drive, so why does the macro try to map out to the network
drive? Is there a set-up in Excel that I have corrupted and need to
change?
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default macro pointing to wrong folder

On 3/16/2010 9:36 AM, ankur wrote:
We use a macro that is stored in the "personal" file in the XLSTART
folder of the local drive. A new employee wanted the macro, so I
copied it to his folder on the network drive and installed it on his
local drive and it works fine, however, my macros now look to his
folder on the network drive whenever I try to run them. I have looked
at the modules in VB and they are all pointed to the correct folder on
my local drive, so why does the macro try to map out to the network
drive? Is there a set-up in Excel that I have corrupted and need to
change?


What is a value of

ThisWorkbook.Path
ActiveWorkbook.Path

?


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
Excel saves to wrong folder T Dragos Excel Discussion (Misc queries) 5 December 26th 06 04:11 PM
Save file in a new folder, but create folder only if folder doesn't already exist? nbaj2k[_40_] Excel Programming 6 August 11th 06 08:41 PM
Printing to PDF Goes to Wrong Drive/Folder Mel Excel Programming 0 March 10th 05 12:44 PM
Pointing custom toolbar entries to correct macro path on copied workbooks COR Excel Programming 2 July 2nd 04 03:04 AM
Where is hyperlink pointing...File or Folder BVHis[_5_] Excel Programming 3 May 3rd 04 06:56 PM


All times are GMT +1. The time now is 04:41 AM.

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"