LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Eric
 
Posts: n/a
Default Macros associated with pictures

I am working with Excel 2000.

I have a worksheet that has several pictures on it. Each picture has an
associated macro. The macros are in an extenal workbook. Currently each
picture, when it tries to access the macro, it cannot find the file, because
the file containing the macros has been moved. I have a number of files
that are setup this way and need a macro that will go in and automatically
remove the folder/path refference from the file/macro reference.

Example:
Currently referenced macro:
F:\Dir1\SubDir2\SubSubDir3\OperatorMacros.xls!Pict ure6_Click

I want it to read:
OperatorMacros.xls!Picture6_Click

I have 6 pictures on the worksheet and each picture has the same problem.

Also, can I set something such that it doesn't ever try to reference a path
for the file. I already have the workbook set up to make sure the file that
has the macros in it is loaded.

Please help, and thank you in advance.

Eric Pearce


 
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
sharing macros fabulousk Excel Discussion (Misc queries) 3 March 7th 05 10:05 PM
Enabling macros Peter M Excel Discussion (Misc queries) 3 February 7th 05 10:57 PM
sorting with macros Sorting in macros Excel Discussion (Misc queries) 1 February 1st 05 09:02 AM
Transferring toolbars and macros to other computers Darrell Excel Discussion (Misc queries) 1 January 19th 05 12:21 AM
The available macros list in XL; how to suppress filename from showing KR Excel Discussion (Misc queries) 1 January 10th 05 07:20 PM


All times are GMT +1. The time now is 06:44 AM.

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

About Us

"It's about Microsoft Excel"