Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have a range of cells which are either blank or contain data. I'd like to create a dynamic(?) array and enter the values of those cells. Then, after that, i'd like to output the array into a msgbox. I've started with the below code, but am struggling to get it to work and to do what i'm required. Can anyone help? Cheers, Tony Z. Sub collate() Dim N As Long Arr = Range("F2:H50").Value For N = LBound(Arr) To UBound(Arr) impe = impe + Arr(N) Next N MsgBox impe End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Display an array in a MsgBox | Excel Programming | |||
How to copy VBA array into range of cells? | Excel Programming | |||
Sum Array Range & Individual Cells | Excel Discussion (Misc queries) | |||
Setting an array range of cells??? | Excel Programming | |||
Problem with array and msgbox | Excel Worksheet Functions |