Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe...
sub myOpen() Workbooks.Open thisworkbook.path & "\open.xls" end sub Tomo wrote: I have file run.xls in d:\xls\ in vb i need to open file open.xls in direcory from witch I opened run.xls, this is d:\xls\ if i move or copy entire d:\xls into e:\xls i would like to open open.xls from run.xls eg sub open () Workbooks.Open "d:\xls\open.xls" end sub this code will open open.xls from path d:\xls, but when i move or copy entire d:\xls into e:\xls and start macro, error occurs please help -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to open most current file in folder | Excel Discussion (Misc queries) | |||
current directory | Excel Discussion (Misc queries) | |||
Current Directory | Excel Discussion (Misc queries) | |||
Excel should open documents in the folder of the current file | Setting up and Configuration of Excel | |||
Excel Slow File Open Directory Response | Excel Discussion (Misc queries) |