O oldjay Dec 12, 2009 #1 I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31"))
I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31"))
L Lars-Åke Aspelin Dec 12, 2009 #2 I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31")) Click to expand... Try this: MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) Hope this helps/ Lars-Åke
I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31")) Click to expand... Try this: MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) Hope this helps/ Lars-Åke
R Rick Rothstein Dec 12, 2009 #3 Try this... MyConstant = Application.CountA(ActiveSheet.Range("A2:I31"))
R Rob van Gelder Dec 12, 2009 #4 Replace Sheets("Master") with ActiveSheet eg. MyConstant = Application.CountA(activesheet.Range("A2:I31"))
Replace Sheets("Master") with ActiveSheet eg. MyConstant = Application.CountA(activesheet.Range("A2:I31"))
O oldjay Dec 13, 2009 #6 Thanks again for the help OssieMac said: MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) Click to expand...
Thanks again for the help OssieMac said: MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) Click to expand...