If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > using a mult array

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-28-06, 10:50
MikeroSoft MikeroSoft is offline
Registered User
 
Join Date: Apr 2006
Posts: 47
using a mult array

i would like to add a name a begin row and endrow to an array

et would be the name, and the 1st row after the name changed would begin row
the last row b4 name change would be end.

how can i add them to the array?



Dim et As String
et = ActiveCell.Value

i = 2
Do While Not IsEmpty(ActiveCell)
begRow= activecell.row

Do While et = ActiveCell.Value
i = i + 1
Loop

et = ActiveCell.Value
endRow= activecell.row-1
myArray(useUpperbound+1?, useUpperbound+1?, useUpperbound+1?) = _ et,begrow,endrow?
Loop
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On