How do i use VBA to copy a cell formula to another cell and not just the cell value?
How do i use VBA to copy a cell formula to another cell and not just the cell value?
Hi Murtaep,
try this one:
Sub Macro2()
'copy formula from cell c23 to cell c 24
Range("C24").Formula = Range("C23").Formula
End Sub
Regards
Theo
____________________
Don't forget to mark your threads as "closed" once your problem is solved! Don't forget to thank those who helped you by clicking on the star at the left of your "helpers" reply.
Remember To Do the Following....
1. Upload sample files
2. Thank those who have helped you by clicking the Star below the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Worked a treat thanks very much
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks