Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default multidimensional array

What am I doing wrong?

For lfor = LBound(Merch(lfor, 0)) To UBound(Merch(lfor, 1))
Merch(lfor, 0) = Cells(lfor, 1)
Merch(lfor, 1) = Cells(lfor, 2)
Next lfor

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default multidimensional array



i = 1
For lfor = LBound(Merch, 1) To UBound(Merch, 1)
Merch(lfor, 0) = Cells(i, 1)
Merch(lfor, 1) = Cells(i, 2)
i = i + 1
Next lfor


--
Regards,
Tom Ogilvy

"Peter" wrote:

What am I doing wrong?

For lfor = LBound(Merch(lfor, 0)) To UBound(Merch(lfor, 1))
Merch(lfor, 0) = Cells(lfor, 1)
Merch(lfor, 1) = Cells(lfor, 2)
Next lfor


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
Multidimensional array - lookup Jason Morin Excel Programming 5 September 27th 06 06:49 PM
Syntax for multidimensional array Arne Hegefors Excel Programming 1 August 22nd 06 06:19 PM
Sort MultiDimensional Array Mushi Excel Programming 1 August 2nd 06 05:34 AM
Multidimensional Array DavidMoeller Excel Programming 4 August 12th 04 08:12 PM
MAX of Multidimensional Array ZZZ Excel Programming 2 November 15th 03 03:32 PM


All times are GMT +1. The time now is 08:13 PM.

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

About Us

"It's about Microsoft Excel"