G
Guest
I have this:
Dim TB1 As Worksheet, TB2 As Worksheet
Set TB1 = Workbooks("testbook1.xls").Worksheets(1)
If TB1.Cells(i, 1) = TB2.Cells(y, 9) Then
I am trying to replace "testbook1.xls" with the real name of a workbook that
is open.
I can get the book name but.... using this code.
book2 = ActiveWorkbook.Name
But I can not seem to find a way to replace "testbook1.xls" with the real
name.
Help please??? Someone?
Dim TB1 As Worksheet, TB2 As Worksheet
Set TB1 = Workbooks("testbook1.xls").Worksheets(1)
If TB1.Cells(i, 1) = TB2.Cells(y, 9) Then
I am trying to replace "testbook1.xls" with the real name of a workbook that
is open.
I can get the book name but.... using this code.
book2 = ActiveWorkbook.Name
But I can not seem to find a way to replace "testbook1.xls" with the real
name.
Help please??? Someone?