Hi all,
I have tool I use to manage staff performance and I would like to use vba to run formulas if possible.
for example column A50 to A5000 will hold the value 1, and then
column b50 to b5000 holds the value 1,
then column GA50 to GA5000 will return the Value 1.
so A50 and B50 = 2 then GA50 = 1 or the Value "YES".
I would like the VBA code to apply to that range 50-5000 on the press of a button. The button already exists I just need the code to paste into it.
The normal formula i would apply is =if(a50:b50,1,2) OR =IF(A50+B50,2,"yes")
But as this is one of many of lots of formulas applied to the range 50-5000 the memory size is jacked up. Hence slowing spreadsheet the speed.
I have used F2 function to succesful place one formula into a code, but found i had to F2 and Enter on every cell I wanted.
Is there a short cut?
Hope that made sense.
thanks
The Freak
PS - I know that this places the formula into the cell, but i intend to copy values back to another cell (say c50:c5000) and clear the formulas in ga50:ga5000) so they are not retained anywhere except in the VBA code.
I have tool I use to manage staff performance and I would like to use vba to run formulas if possible.
for example column A50 to A5000 will hold the value 1, and then
column b50 to b5000 holds the value 1,
then column GA50 to GA5000 will return the Value 1.
so A50 and B50 = 2 then GA50 = 1 or the Value "YES".
I would like the VBA code to apply to that range 50-5000 on the press of a button. The button already exists I just need the code to paste into it.
The normal formula i would apply is =if(a50:b50,1,2) OR =IF(A50+B50,2,"yes")
But as this is one of many of lots of formulas applied to the range 50-5000 the memory size is jacked up. Hence slowing spreadsheet the speed.
I have used F2 function to succesful place one formula into a code, but found i had to F2 and Enter on every cell I wanted.
Is there a short cut?
Hope that made sense.
thanks
The Freak
PS - I know that this places the formula into the cell, but i intend to copy values back to another cell (say c50:c5000) and clear the formulas in ga50:ga5000) so they are not retained anywhere except in the VBA code.