Hello to all!
I mexcuse in advance if this subject already exists (as nouvo this forum .....).
Here is my concern.
I sui Newb prog in VBA and I n'arive not implemented a code marcro my VBA code.
Here is my snippet:
place = 5
LINE = 2
Do Until Sheets ( "DB"). Cells (LINE, 1) = ""
Sheets ( "tb_de_calcul"). Cells (7, up) = Sheets ( "DB"). Cells (LINE 2) & "" & Sheets ( "DB"). Cells (LINE 3)
Cells (30, up) = "= AVERAGE (& Cells (11, place): Cells (22, place))"
LINE = LINE + 1
place = place + 1
Loop
My problem is on the line
Cells (30, up) = "= AVERAGE (& Cells (11, place): Cells (22, place))"
I would make the average of several cells for each column but can not integrate my variable place .......
I guess I go for a v naz save me but its good life if you help me.
Thank you in advance



Reply With Quote
Copyright Techfuels
Bookmarks