LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Constructing Inner and Outer Loops in Excel VBA

Hi.

I was wondering how I could loop through a matrix of information, populate a
row in another worksheet with the values I pulled from the matrix, and then,
continue looping through other matrices, i.e.I'm looking for loop-within-loop
information,

for eg.

Matrix 1
sales = 50

profits = 60 debts = 30

Matrix 2
sales = 34

profits = 67 debts = 32

I want to construct an inner loop that can sort within each matrix, delete
any row with spaces, pick up each data point from different cells, store them
in one row in another worksheet, and then close that loop and have an outer
loop that will repeat the same action for each matrix, storing the values of
each matrix in a different row in the new worksheet.

I know it probably is a little complicated, but I was just hoping that
someone could help me out with the trickier aspects of the loop.

Thanks for reading this far, I appreciate it

Naz


 
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
Trouble constructing IF statement Joe[_13_] Excel Worksheet Functions 1 February 9th 09 06:16 PM
Require help related to Excel Query outer join problem CJ Excel Discussion (Misc queries) 0 August 2nd 07 02:32 AM
Constructing graphs in excel Twnooz Charts and Charting in Excel 1 June 13th 06 07:17 PM
Help constructing simple spreadsheet Jeff Mason New Users to Excel 1 November 24th 05 04:51 PM
Increment outer loops hotherps[_90_] Excel Programming 6 August 10th 04 05:57 PM


All times are GMT +1. The time now is 02:06 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"