Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What I want to do is have a macro that selects all cells containing
data, creates a range and names it "Print_Area" sounds simple, but I cannot get it to work ActiveSheet.UsedRange.Select ActiveWorkbook.Names.Add Name:="Print_Area", RefersToR1C1:= _ "=R396070CS01!R1C1:R38C17" Ive got that, which works fine, however, i need to to be run in many spreadsheets, with varying sheet names, and varying cell ranges. Ideas...?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro - Varying Range to Copy | Excel Programming | |||
Create univeral pivot table macro - use with varying lenght data sets | Excel Programming | |||
Create Named Range in VBA | Excel Programming | |||
Create named range | Excel Programming | |||
Using Varying Range Size in Macro | Excel Programming |