Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default FILL ARRAY ONE ROW AT A TIME

Hi,

I have to thank the forum in general for your help. I find there are a
lot of very bright people willing to share their knowledge and time and
I'm very appreciative.

I would like to fill 1 row of an array at a time, excluding the 1st
column. Not 1 cell at a time. something like the following:

Sub FillRow()

Dim aArr As Variant

ReDim aArr(1 To 4, 1 To 2)

aArr(1,1) = "VAL11"
aArr(ROW 1 COLUMN 2 TO 4) = array("VAL12", "VAL13", "VAL14")

aArr(2,1) = "VAL21"
aArr(ROW 2 COLUMN 2 TO 4) = array("VAL22", "VAL23", "VAL24")

End Sub

if anyone knows how to fill 1 complete row at a time in this manner
that would help too. The values for the array elements will come from
VBA strings not a worksheet range.

Thanks,

Ian

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default FILL ARRAY ONE ROW AT A TIME

Thanks Alan,

You have a lot of interesting functions using arrays on your site.

Regards,

Ian

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 200
Default FILL ARRAY ONE ROW AT A TIME

wrote:
Thanks Alan,

You have a lot of interesting functions using arrays on your site.

Regards,

Ian

Thanks for the feedback.

Alan
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fill in cells with an array dgh Excel Discussion (Misc queries) 0 May 15th 09 08:42 PM
fill array [email protected][_2_] Excel Programming 7 March 20th 06 01:01 PM
fill down array to last available row [email protected] Excel Worksheet Functions 10 May 19th 05 10:52 PM
Fill Array from a CSV File mudraker[_6_] Excel Programming 5 November 12th 03 02:18 AM
Fill Searched array with text [email protected] Excel Programming 3 September 26th 03 03:16 AM


All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"