Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default help with Applying nested Loops

i have small query with the looping thing . i have data something like
this . i need to write a nested loops to apply Formula and autofil
methods in these specific cells . can you please help me out in
writing the code .

I have Products and Year in two different rng variable
(RngProducts,RngYear). need vba code lo loop thru the cells and apply
formula . if i apply the formula then in the next column i need to
autofill method

A B C D E F G
Products Year1 Year2 Year3 Year4 Year5 Year6
1 frmla
autofilll----------------------------------------
2 0 frmla1
Autofilll----------------------------
3 0 0 Frmla3
Autofilll-----------------
4 0 0 0 frmla4
autofilll--------

Frmla , Frmla1 , Frmla2 , are different formula
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
Nested Do While Loops Gum Excel Programming 3 November 20th 08 05:28 PM
Help with nested for loops [email protected] Excel Discussion (Misc queries) 5 May 2nd 07 05:30 PM
Help with nested for loops [email protected] Excel Worksheet Functions 5 May 2nd 07 05:30 PM
Help with nested for loops [email protected] Excel Programming 5 May 2nd 07 05:30 PM
nested for loops and end for SandyR Excel Programming 3 October 6th 05 09:36 PM


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