LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Run-time error when path parameter changed

I am, at best, a novice w/ VBA so please bear w/ me.
Have a workbook which displays a userform w/ multiple Command Buttons.
Clicking a button hides the userform and opens a subordinate workbook
containing data. Once the data is viewed the user has a choice of (2)
buttons in the subordinate workbook. "Exit All" closes all open
workbooks. "Continue" closes the workbook being viewed and activates &
shows the workbook w/ the userform allowing the user to make another
selection.

Further, the workbooks and code all reside on my PC. A shortcut icon
on the PC's of my (2) bosses accesses the userform workbook and
subsequently the workbooks w/ the data.

My initial code pointing to these workbooks was C:\........ Upon
adding the shortcuts to the other PCs I realized that I needed to
change the path to \\RG\....... (RG is my computer on the network).
That works for the other (2) PCs. But now if I run the code on my
machine when I click the "Continue" button in the subordinate
workbooks I get a run-time error 1004. "A document w/ the same name is
already open........".

Thanks,
Roger
 
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
Moved spreadsheet changed link path Jo Excel Discussion (Misc queries) 1 December 31st 09 02:00 AM
All Hyperlinks have changed the path bevchapman Excel Discussion (Misc queries) 9 November 19th 09 03:58 AM
Run time 75 Error path/file access no-how to trap??? pano[_3_] Excel Programming 1 October 18th 07 07:44 AM
File path of external link changed ramram49 Links and Linking in Excel 1 November 2nd 06 07:03 AM
Run-time error 75 Path/File access error Casey[_89_] Excel Programming 2 May 9th 06 07:20 PM


All times are GMT +1. The time now is 09:30 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"