ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Navigate between open workbooks (https://www.excelbanter.com/excel-programming/376526-navigate-between-open-workbooks.html)

Corey

Navigate between open workbooks
 

I have some code to create a new workbook and paste some data from another.
Buit as i need to do this with several sheets from the original workbook and
add severl sheets to the new workbook,
How do i navigate or SELECT the original workbook again to naviagate to the
other sheets in it?

I have tried:
with workbook("Name").select

and simply

workbook("Name").Select

but i get errors


Any Idea's


CTM



FM[_2_]

Navigate between open workbooks
 
I have tried:
with workbook("Name").select

and simply

workbook("Name").Select

but i get errors


You just miss the "s", the right instruction a

With Workbooks("Name").Select
Workbooks("Name").Select


FM




Corey

Navigate between open workbooks
 
Simple but SO effective.

Thanks


CTM
"FM" wrote in message
...
I have tried:
with workbook("Name").select

and simply

workbook("Name").Select

but i get errors


You just miss the "s", the right instruction a

With Workbooks("Name").Select
Workbooks("Name").Select


FM







All times are GMT +1. The time now is 11:29 PM.

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