Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Basically, I want to do the following inside a macro. The macro should work on any selected cell, and can be used in many different locations. If I select C1 for example and run macro, I want the following change made in D10: Original D10: =F4+B5 New D10: =F4+B5+C1 I've figured out the following line of code to start with: Range("D10").Formula = Range("D10").Formula + Selection.Cells(Row, Column) But it doesn't give me what I want. -- craigjl ------------------------------------------------------------------------ craigjl's Profile: http://www.excelforum.com/member.php...o&userid=33247 View this thread: http://www.excelforum.com/showthread...hreadid=530719 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to populate data in a cell based on another cell's color | Excel Discussion (Misc queries) | |||
How do I test a cell's formula (ex: Is this cell and Avg or a sum? | Excel Worksheet Functions | |||
How do I enter a formula in a cell that changes per another cell's | Excel Worksheet Functions | |||
Returning a cell's formula in a different cell | Excel Worksheet Functions | |||
one cell's value Highlights selected cells....how? | Excel Discussion (Misc queries) |