Editing cell formulas within a macro

  • Thread starter Thread starter bobclark
  • Start date Start date
B

bobclark

I have cells that I want to add to the current formula using a macro for
repetitive tasks,

ie
edit
home
right one
=(new stuff 1)formula
end
=(newstuff 1)formula(newstuff 2)

any suggestions or appropriate links?
 
Bob

ActiveCell.Formula = "=newstuff1" & Right(ActiveCell.Formula,
Len(ActiveCell.Formula)-1) & "newstuff2"

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com

I have cells that I want to add to the current formula using a macro for
repetitive tasks,

ie
edit
home
right one
=(new stuff 1)formula
end
=(newstuff 1)formula(newstuff 2)

any suggestions or appropriate links?
 
Thank You Very Much

Bob


~>Bob
~>
~>ActiveCell.Formula = "=newstuff1" & Right(ActiveCell.Formula,
~>Len(ActiveCell.Formula)-1) & "newstuff2"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top