Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I have a cell A1 in which the value dynamically changes and in cell A2 i
want it to record that value what should i do? An earlier response i got was to use this code Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address < "$A$1" Then Exit Sub If Range("a1") Range("a2") Then Range("a2") = Range("a1") End Sub However i need to do it for multiple cells. Not knowing VBA i tried adding more "IF" statements but that didn't work. I treid copying and pasting and changing the values (IE from A1 to B1) but i got an ambigious error for "Worksheet_change" Any help would be appreciated thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Recording changed cells in the same sheet | Excel Discussion (Misc queries) | |||
2 rows, highest No in row 1, then highest number in row 2 relating to that column, possible duplicates | Excel Worksheet Functions | |||
How do I make the Stop Recording bar pop up when recording macros | Excel Worksheet Functions | |||
Recording macro for multiple cells | Excel Programming | |||
How do I have a macro format cells while recording? | Excel Worksheet Functions |