ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Handling Server Paths in code (https://www.excelbanter.com/excel-programming/324453-handling-server-paths-code.html)

WAYNE

Handling Server Paths in code
 
Hi! I have a master spreadsheet that I use to open other
spreadsheets via a toolbar. I want to be able to have the
macro open the file if it's not open and activate the
spreadsheet if it's already open. The problem is that to
open it I have to use the full pathname on a server, but
once's it's open, the path info isn't there any more, so
the activate command bombs out. Are there some ways to
handle that?

Wayne



Tim Williams

Handling Server Paths in code
 
What do you mean by "the path info isn't there any more" ?

Tim.


"Wayne" wrote in message
...
Hi! I have a master spreadsheet that I use to open other
spreadsheets via a toolbar. I want to be able to have the
macro open the file if it's not open and activate the
spreadsheet if it's already open. The problem is that to
open it I have to use the full pathname on a server, but
once's it's open, the path info isn't there any more, so
the activate command bombs out. Are there some ways to
handle that?

Wayne






All times are GMT +1. The time now is 12:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com