senators40
Technical User
Hi,
I would like to determine if the activecell in another workbook is blank and do a procedure if it is.
I can do it if I know which cell I am referencing but I would like to determine the activecell as the number of rows may change.
Below is what I can do if I want to find a specific cell in excel.
I am in Sheet2 tab
These are 2 types of procedures that worked but it references specific cells
If Sheets("Sheet1").Range("A2") <> "" Then
or
If Sheets("Sheet1").Cells(2, 1).Value <> "" Then
so if my activecell is in cell A2 on Sheet1 then how do I reference the activecell in that sheet.
Thanks in advance
Jeff
I would like to determine if the activecell in another workbook is blank and do a procedure if it is.
I can do it if I know which cell I am referencing but I would like to determine the activecell as the number of rows may change.
Below is what I can do if I want to find a specific cell in excel.
I am in Sheet2 tab
These are 2 types of procedures that worked but it references specific cells
If Sheets("Sheet1").Range("A2") <> "" Then
or
If Sheets("Sheet1").Cells(2, 1).Value <> "" Then
so if my activecell is in cell A2 on Sheet1 then how do I reference the activecell in that sheet.
Thanks in advance
Jeff