Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Ted Collins   on Dec 01 In MS Office Category.

  
Question Answered By: Kanchan Ap   on Dec 01

I agree with the other responses that wonder what you're trying to do, but ...

You can get at cell  BOB as before:

Range("BOB")

Its formula  is available through its .Formula property or its .FormulaR1C1
property. Both give you the formula as a text string - just in different
formats. Work out which one you prefer to use.

You will need to split the formula string into its component parts. Presumably
the formula is

=Sum(A1:A25)

You'll need to separate out the 25 and make it 26, then put it all back together
and assign it to the .Formula or .FormulaR1C1 property of BOB.

Share: 

 

This Question has 11 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on How to step into a formula with a macro? Or get search suggestion and latest updates.


Tagged: