Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? -- Jesseb |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement inside a SUMIF statement.... or alternative method | Excel Worksheet Functions | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
Conditional Formatting Using If Statement On Opening Of Workbook | Excel Worksheet Functions | |||
if statement for sheet not found in workbook | Excel Programming |