ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel VBA Write to xls ? (https://www.excelbanter.com/excel-programming/308502-excel-vba-write-xls.html)

Adrian[_7_]

Excel VBA Write to xls ?
 
Hi,

Can an Excel VBA program access (read/write) another excel file ? if
so, how ?


Thanks...

--
Regards,
Kok Hsing
(Guoxing)




nath

Excel VBA Write to xls ?
 
It can be done, but it depends on what you want to do.
-----Original Message-----
Hi,

Can an Excel VBA program access (read/write) another

excel file ? if
so, how ?


Thanks...

--
Regards,
Kok Hsing
(Guoxing)



.


Tom Ogilvy

Excel VBA Write to xls ?
 
Are they both open?

workbooks("Otherfile.xls").Worksheets(1).Range("A1 :B5").Value = _
Thisworkbook.Worksheets(3).Range("M11:N15").Value

--
Regards,
Tom Ogilvy

"Adrian" wrote in message
...
Hi,

Can an Excel VBA program access (read/write) another excel file ? if
so, how ?


Thanks...

--
Regards,
Kok Hsing
(Guoxing)






Smokiibear

Excel VBA Write to xls ?
 
I would like to open multiple xls files, manipulate them, and then save them
as xls files. I have a routine that I need to do on hundreds of files..and
hope not to have to do it by hand. :)

Mike Shick

"Tom Ogilvy" wrote:

Are they both open?

workbooks("Otherfile.xls").Worksheets(1).Range("A1 :B5").Value = _
Thisworkbook.Worksheets(3).Range("M11:N15").Value

--
Regards,
Tom Ogilvy

"Adrian" wrote in message
...
Hi,

Can an Excel VBA program access (read/write) another excel file ? if
so, how ?


Thanks...

--
Regards,
Kok Hsing
(Guoxing)








All times are GMT +1. The time now is 07:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com