Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello and thanks,
I need to know how to use a named range in a macro!!! - Help. (This in order to delete easily a range of cells) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
myVal = Range("myRange").Value
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "CompetiveLat" wrote in message ... Hello and thanks, I need to know how to use a named range in a macro!!! - Help. (This in order to delete easily a range of cells) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you've already named the range you can simply use:
Range("myRange") where myRange is your named range. If you want to assign a range to a name, you can use: Range("B1:C12").Name = "myRange" Hope this helps! -- -SA "CompetiveLat" wrote: Hello and thanks, I need to know how to use a named range in a macro!!! - Help. (This in order to delete easily a range of cells) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro deletes row in range, macro then skips the row moved up | Excel Discussion (Misc queries) | |||
macro pop-up to set range? | Excel Worksheet Functions | |||
Macro Range | Excel Discussion (Misc queries) | |||
Name a Range - Macro | Excel Worksheet Functions | |||
Use Range Name in Macro | Excel Worksheet Functions |