Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use Set with Union if you want to create a range. You might dim acd and bef
as ranges to faciliate your work. It's best to use the specific data type rather than a variant or object if possible. Whether this gives you the result you want I don't know. Dim a, b, cd, ef, acd, bef As Variant This only dims bef as variant directly. The others are variants too but only because it is the default data type. VB is not like C; you have to "as" each variable. -- Jim Rech Excel MVP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Quick question on naming a union of ranges | Excel Discussion (Misc queries) | |||
VIEWING adjacent/nonadjacent cells or cell ranges in Excel 2007 | Excel Discussion (Misc queries) | |||
how can I print non-adjacent ranges on one page | Excel Discussion (Misc queries) | |||
printing Union of Ranges | Excel Worksheet Functions | |||
VBA union of two ranges | Excel Programming |