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: 60
Default VBA loops and Dolver help

Hi, I'm very new to VBA but havea solver function that I need to apply to
each row in my spreadsheet. A macro is the best way to do this as there are
100 rows.

I have recorded a macro that does what I want for a single row, but when I
try and create a loop things go wrong. I can't figure out how to refer to the
cells that Solver uses so that they use the right ones for each iteration.
I've tried both the A1 style and the R1C1 style.

I did find some help on the website (but cannot find the page today) that
used a FOR loop with the "Counter" command, but this doesn't seem to work.

In each iteration the columns stay the same, its just that obviously the
rows need to change each time.

Does anyone have any advice? I can post the code I have at present if needed.

Many thanks for any help.
 
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
loops Capp Excel Programming 1 September 28th 05 07:48 PM
Do Loops No Name Excel Programming 1 July 20th 04 04:47 PM
Loops PaulSinki Excel Programming 3 December 10th 03 05:01 PM
LOOPS Fernando Duran Excel Programming 2 September 3rd 03 01:07 AM
Loops Tom Ogilvy Excel Programming 0 July 18th 03 05:20 PM


All times are GMT +1. The time now is 12:17 AM.

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"