ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   open another workbook in vb (https://www.excelbanter.com/excel-programming/334020-open-another-workbook-vbulletin.html)

raph_baril[_2_]

open another workbook in vb
 
Hello,

I'm trying to do a macro that will open another workbook
e.g. I want the file C:\get_me_open.xls to open automaticly with the macro.

Does anyone knows how to write it in V.B?

Bob Phillips[_7_]

open another workbook in vb
 
Workbooks.Open Filename:= "C:\get_me_open.xls"

--
HTH

Bob Phillips

"raph_baril" wrote in message
...
Hello,

I'm trying to do a macro that will open another workbook
e.g. I want the file C:\get_me_open.xls to open automaticly with the

macro.

Does anyone knows how to write it in V.B?




bigwheel

open another workbook in vb
 
Workbooks.Open Filename:= "C:\get_me_open.xls"

"raph_baril" wrote:

Hello,

I'm trying to do a macro that will open another workbook
e.g. I want the file C:\get_me_open.xls to open automaticly with the macro.

Does anyone knows how to write it in V.B?



All times are GMT +1. The time now is 11:28 AM.

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