Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I transfer (automaticly) data form one cell to another cell. That
other cell contains no formula or what so ever. e.g. cell A1 is empty, and cell A1 contains the value 12345. I send this value to cell D1 from cell A1 or any other cell. How can I do this code for multiple cells? e.g. A1 to D1, A2 to D2, A3 to D3 ext. Private Sub Worksheet_Change(ByVal Target As Range) If Target.Cells.Count 1 Then Exit Sub If Intersect(Target, Me.Range("G6")) Is Nothing Then Exit Sub On Error GoTo CleanUp Application.EnableEvents = False With Target If .Value < "" Then Excel.Range("A1").Value = Target.Value End If End With CleanUp: Application.EnableEvents = True End Sub Thanks in Advance. BR, John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
auto fill multiple values in multiple cells | Excel Discussion (Misc queries) | |||
Transposing Multiple Cell References to Multiple Values (NOT total | Excel Discussion (Misc queries) | |||
Conditional Formatting of Cells with Multiple Cell Values | Excel Discussion (Misc queries) | |||
Change values in multiple cells from one cell | Excel Worksheet Functions | |||
Can I send results of a formula to multiple cells? | Excel Programming |