O
omar
hi!
i've been trying to convert the values of some cells to formulas.
those values are aalmost a formula, except for the "=". i tried to replace
"'Z:\blablabla" for "='Z\blablabla" but it didn't work. no match found.
so, i discovered that the macros have a powerful tool:
ActiveSheet.Cells(2, 1).Formula = "=sum(B1:B5)"
i made this little macro but, guess what, it doesn't work:
no_row = 227
Do While no_row < 445
no_col = 3
Do While no_col < 163
va = Worksheets("sales").Cells(no_row, no_col).Value
ActiveSheet.Cells(no_row, no_col).Formula = CVar("=" & va)
no_col = no_col + 1
Loop
no_row = no_row + 1
Loop
could you plis help me to figure it out?
tia!
i've been trying to convert the values of some cells to formulas.
those values are aalmost a formula, except for the "=". i tried to replace
"'Z:\blablabla" for "='Z\blablabla" but it didn't work. no match found.
so, i discovered that the macros have a powerful tool:
ActiveSheet.Cells(2, 1).Formula = "=sum(B1:B5)"
i made this little macro but, guess what, it doesn't work:
no_row = 227
Do While no_row < 445
no_col = 3
Do While no_col < 163
va = Worksheets("sales").Cells(no_row, no_col).Value
ActiveSheet.Cells(no_row, no_col).Formula = CVar("=" & va)
no_col = no_col + 1
Loop
no_row = no_row + 1
Loop
could you plis help me to figure it out?
tia!