Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have many macros that create separate pivot tables (on separate
sheets) based on the same range (my data source sheet). I tried defining the range globally but I get errors. I.E. In module1: Public rngRawData as range Then in the workbook_open event I want to set the range: Set rngRawData = ActiveWorkbook.Sheets("Data").Range("R1C1:R981C30" ) I get an object-defined or application-defined error. Can someone please tell me what I'm doing wrong? Thanks, Debbie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Define Name range | Excel Discussion (Misc queries) | |||
Define a range | Excel Discussion (Misc queries) | |||
how to define range names | New Users to Excel | |||
Define a range based on another named range | Excel Worksheet Functions | |||
Define a Range depending on where the EOF is | Excel Programming |