Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default reading workbooks across multiple excel applications

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   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default reading workbooks across multiple excel applications

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading Multiple Files BadBoy Excel Worksheet Functions 5 January 15th 10 06:26 PM
Reading data arrays from multiple data files in excel Hankjam[_2_] Excel Discussion (Misc queries) 0 February 7th 08 08:29 PM
Workbooks in multiple running Excel applications wbl Excel Programming 3 January 5th 04 02:47 PM
Reading information from all workbooks in a folder... H. Rye Excel Programming 2 January 2nd 04 02:55 PM
Reading Data From Series of External Workbooks Marston[_2_] Excel Programming 2 October 21st 03 07:09 PM


All times are GMT +1. The time now is 06:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"