Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear
I am attempting to show cells A1 to B4 in a msgbox. The code I had tried is: dim c1(6) as integer dim c5 as variant c1(6) = Selection.CurrentRegion.Rows.Count c5 = (Range("A1:B" & (c1(6)))) MsgBox c5 However, this is not working. Any ideas? Thanks, Peter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
combination | Excel Discussion (Misc queries) | |||
mismatch error and Variants | Excel Programming | |||
can I set row/column label as variants? | Excel Programming | |||
Variants vs ranges | Excel Programming | |||
Array Parameters as Variants Only | Excel Programming |