Moving file confuses macros

pilot

Active Member
Joined
Feb 17, 2002
Messages
345
I have developed a file in Excel 97 on my local PC that contains about 20 Subs all located in "This Workbook". I moved the file to a network where it is opened in Excel 2002 (OfficeXP). When attempting to execute any of the macros, an error box opens saying that a file with the same name is already open. None of the macros points to any file by name or path but obviously there is something doing that. I'd be grateful for ideas.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I might have figured this out. I could run any of the macros from Alt-F8. Seems the macros assigned to my custom toolbar buttons were still pointing to the same file name on the a: drive. I can reassign all the macros to the custom toolbar buttons but is there an easier way?
 
Upvote 0

Forum statistics

Threads
1,214,863
Messages
6,121,978
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top