Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheet name
I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" )) |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheet name
Try this...
MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) -- Rick (MVP - Excel) "oldjay" wrote in message ... I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" )) |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheet name
Replace Sheets("Master") with ActiveSheet
eg. MyConstant = Application.CountA(activesheet.Range("A2:I31")) On 13-Dec-2009 09:08, oldjay wrote: MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" )) |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheet name
MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) -- Regards, OssieMac "oldjay" wrote: I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" )) |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sheet name
Thanks again for the help
"OssieMac" wrote: MyConstant = Application.CountA(ActiveSheet.Range("A2:I31")) -- Regards, OssieMac "oldjay" wrote: I want to change this from the Master sheet to the active sheet MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" )) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel sheet bootom half sheet goes behind top part of sheet | Excel Worksheet Functions | |||
Duplicate sheet, autonumber sheet, record data on another sheet | Excel Worksheet Functions | |||
How do I select price from sheet.b where sheet.a part no = sheet.b | Excel Worksheet Functions | |||
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. | Excel Discussion (Misc queries) | |||
Inserting a row in sheet A should Insert a row in sheet B, removing a row in Sheet A should remove the corresponding row in sheet B | Excel Programming |