Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Apr 30, 11:14 pm, wrote:
I wont be able to give full path because I am creating a report that multiple people will be running and using this macro... is there an alternate method ? From the following website: http://www.excel-vba.com/vba-12-code-workbooks.htm ******************start quote************ Opening Workbooks To open another Excel file (workbook) with a VBA procedure you simply write (notice that "Workbooks" is plural): Workbooks.Open "suchAndSuch.xls" You don't need to specify a directory (path) if the second workbook resides in the same directory as "ThisWorkbook" ******************end quote************ So, when I open a file from a folder, then I should be able to just open other files in the same directory ? Balajii |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
listing all sheets in all workbooks in a directory | Excel Programming | |||
open in old directory save in new directory | Excel Programming | |||
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed | Excel Programming | |||
summary of multiple workbooks in a directory | Excel Programming | |||
Count of workbooks in a directory | Excel Programming |