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

I have calculated a data using a formula and I need the code to loop thru the
sheet running the formula thru a column. Autofill does not work because it
will give me Jan-1 Jan-2 etc,

In column A I have a value DJAN-1 DJan-2 Djan-4 etc this formula will work
correctly to give me the data


Sheets!graphdata.Range("r4") = (dwmonth & "-" &
Mid(Sheets!graphdata.Range("A4"), 6, 2))

in R5 I want it to look in cell A5 to get the value and then insert it

There are 343 rows it has to loop thru putting the value in A? in R?

what is the quickest and easiest way of doing this

Thanks
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
for loop with if statement Steve Excel Worksheet Functions 1 February 17th 10 07:56 PM
If statement - Loop? George Excel Discussion (Misc queries) 1 March 14th 06 07:06 AM
Help with a loop VBA with an if statement kixelsid Excel Programming 10 February 28th 06 07:15 PM
continue statement in a loop rozner Excel Programming 4 August 2nd 05 03:30 PM
Do Until loop with if statement Sandy[_3_] Excel Programming 4 July 17th 03 11:06 AM


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