Variable in a formula
In this formula I would like [9] to become a variable that
will loop/next from 10 to 63. There are some other piecies to this code, I just need to know how to make that 9 x. TYIA GM |
Variable in a formula
Hi
which formula do you mean :-) -- Regards Frank Kabel Frankfurt, Germany "GM" schrieb im Newsbeitrag ... In this formula I would like [9] to become a variable that will loop/next from 10 to 63. There are some other piecies to this code, I just need to know how to make that 9 x. TYIA GM |
Variable in a formula
and the formula is ....?
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "GM" wrote in message ... In this formula I would like [9] to become a variable that will loop/next from 10 to 63. There are some other piecies to this code, I just need to know how to make that 9 x. TYIA GM |
Variable in a formula
Boy am I stupid this formula
ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[9] C2,Sheet1!R[9]C1)" -----Original Message----- Hi which formula do you mean :-) -- Regards Frank Kabel Frankfurt, Germany "GM" schrieb im Newsbeitrag ... In this formula I would like [9] to become a variable that will loop/next from 10 to 63. There are some other piecies to this code, I just need to know how to make that 9 x. TYIA GM . |
Variable in a formula
Hi
try ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[" & your_variable & "]C2,Sheet1!R[9]C1)" -- Regards Frank Kabel Frankfurt, Germany "GM" schrieb im Newsbeitrag ... Boy am I stupid this formula ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[9] C2,Sheet1!R[9]C1)" -----Original Message----- Hi which formula do you mean :-) -- Regards Frank Kabel Frankfurt, Germany "GM" schrieb im Newsbeitrag ... In this formula I would like [9] to become a variable that will loop/next from 10 to 63. There are some other piecies to this code, I just need to know how to make that 9 x. TYIA GM . |
Variable in a formula
what about the other on<vbg
ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[" & your_variable & "]C2,Sheet1!R[[" & your_variable & "]]C1)" -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Frank Kabel" wrote in message ... Hi try ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[" & your_variable & "]C2,Sheet1!R[9]C1)" -- Regards Frank Kabel Frankfurt, Germany "GM" schrieb im Newsbeitrag ... Boy am I stupid this formula ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[9] C2,Sheet1!R[9]C1)" -----Original Message----- Hi which formula do you mean :-) -- Regards Frank Kabel Frankfurt, Germany "GM" schrieb im Newsbeitrag ... In this formula I would like [9] to become a variable that will loop/next from 10 to 63. There are some other piecies to this code, I just need to know how to make that 9 x. TYIA GM . |
Variable in a formula
what about the other on<vbg
ActiveCell.FormulaR1C1 = "=MID(R2C5,Sheet1!R[" & your_variable & "]C2,Sheet1!R[[" & your_variable & "]]C1)" $#&"! missed that one :-) |
All times are GMT +1. The time now is 09:45 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com