Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
open file in current directory
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
open file in current directory
Check one of your other posts.
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
open file in current directory | Excel Discussion (Misc queries) | |||
Macro to open most current file in folder | 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) |