Sheet name
On Sat, 12 Dec 2009 12:08:01 -0800, oldjay
wrote:
I want to change this from the Master sheet to the active sheet
MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" ))
Try this:
MyConstant = Application.CountA(ActiveSheet.Range("A2:I31"))
Hope this helps/ Lars-Åke
|