Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When downloading an .xls document from the WEB it invariably starts
new application of excel - thus I have two Excels running at the sam time - my orginal containing a workbook which has my macros and a ne one which contains the workbook I am interested in (calle web_sheet.xls) Clearly windows("web_sheet.xls").activate causes an error - because when run from my original excel, this windo does not exist. Any ideas -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
I think you will have to save and close the xl session that the download created. then add this to your code. Workbooks.Open Filename:="\\filepath\web_sheet.xls" your activate command is correct but not needed. -----Original Message----- When downloading an .xls document from the WEB it invariably starts a new application of excel - thus I have two Excels running at the same time - my orginal containing a workbook which has my macros and a new one which contains the workbook I am interested in (called web_sheet.xls) Clearly windows("web_sheet.xls").activate causes an error - because when run from my original excel, this window does not exist. Any ideas ? --- Message posted from http://www.ExcelForum.com/ . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reading Multiple Files | Excel Worksheet Functions | |||
Reading data arrays from multiple data files in excel | Excel Discussion (Misc queries) | |||
Workbooks in multiple running Excel applications | Excel Programming | |||
Reading information from all workbooks in a folder... | Excel Programming | |||
Reading Data From Series of External Workbooks | Excel Programming |