Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default auto copy old data to new cell

How does one automate the copying of old data in cell A to cell B when new
data is entered in cell A?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 222
Default auto copy old data to new cell

It's not strictly possible to achieve this because entering new data into a
cell destroys the old data but you could use something like the following
which copies the existing data on selection of the required cell before you
type new data in.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Select Case Target.Column
Case 1
If ActiveCell.Value "" Then
ActiveCell.Offset(0, 1).Value = ActiveCell
End If
Case Else
End Select
End Sub

"walt007" wrote:

How does one automate the copying of old data in cell A to cell B when new
data is entered in cell A?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data in one cell to blank cell immediately below, repeat Jeff Excel Worksheet Functions 1 May 19th 06 07:12 PM
How do I copy data from one cell to the next occurrence of data? excelmad Excel Worksheet Functions 5 March 8th 06 11:45 PM
Cell data format falloutx Excel Discussion (Misc queries) 1 February 10th 06 01:46 PM
Macro to open workbook and copy and paste values in to orig workbo Dena X Excel Worksheet Functions 1 December 15th 05 11:13 PM
Set default in auto fill options, I always want to copy cell, som. OSHAman Excel Discussion (Misc queries) 2 March 25th 05 11:22 PM


All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"