Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Can anyone pls translate my pseudo cod ein VBA ???


'DISTRIBUTION OF ESTIMATE
'estimate is the diff between hours in cells 12 and 13 of sheet1 (name of
sheet1 is WAS)
estimate = Cells(j, 12).Value - Cells(j, 13).Value

' a= the given planned start date from WAS
a = Cells(j, 7).Value

'check which column between cols 6 to 10 in sheet2(named FTP) does this
date fall in and store it in a variable called' k' and start distribution
from that col. say Sheets("FTP").Cells(i,k) where k can start anywhere
between 6 and 10.
loop if estimate 9
asiign that column starting at k to 9 ., i.e.,
Sheets("FTP").Ccells(i,k).Value=9
estimate= estimate -9
goto loop
else
Sheets("FTP").Cells(i,k).Value = estimate

I have to incerement thsi distribution to rows "i'' in ftp SHEET




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
can someone please translate this for me Just Me[_2_] Excel Discussion (Misc queries) 5 January 4th 08 10:12 PM
Help need someone to "translate" formulae Mifty New Users to Excel 7 October 31st 07 04:24 AM
Create a pseudo Calender? StuartGB Excel Discussion (Misc queries) 6 September 14th 06 03:12 PM
Please help translate the following Brian Excel Discussion (Misc queries) 4 April 17th 06 05:40 AM
can someone translate this formula pls nebrass Excel Worksheet Functions 2 April 12th 06 01:31 PM


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