Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Reference Range across Worksheets
In MS Excel Objects Sheet1 (Input) I have the following:
Private Sub CommandButton1_Click() Sheets("Data").Range("Discounts").Select Selection.ClearContents End Sub Basically I am attempting to select and clear a named range within another worksheet. I'm getting '1004' error so obviously I'm not calling this correctly. Any thoughts? I'm not locked into this format - just my goal of clearing that named range via the button click from the 'Input' worksheet. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reference to worksheets | Excel Worksheet Functions | |||
Reference different worksheets | Excel Discussion (Misc queries) | |||
automatic range - named range give me circular reference... | Excel Discussion (Misc queries) | |||
Can you get the range reference for each page in a worksheet print range? | Excel Programming | |||
adding reference-to-range control to excel range | Excel Programming |