ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   comparing cells in different workbooks - open a certain sheet (https://www.excelbanter.com/excel-programming/272857-comparing-cells-different-workbooks-open-certain-sheet.html)

Walt[_2_]

comparing cells in different workbooks - open a certain sheet
 
hi

1.
i have to compare cells in different (open) workbooks. i have no idea
how to do that. all tries failed :(

2.
how can i tell an openroutine looking like

Set myWkbk = Workbooks.Open(Filename:=myFileName)

which sheet(!) it should open.

General Information:
The macro gathers the working hours from an individual workbook and
copies them into a summary. Each month is one sheet. I want to be sure
that i copy the right month (workbook opens on the last saved
sheet...).

TIA Walt


All times are GMT +1. The time now is 09:21 PM.

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