PC Review


Reply
Thread Tools Rate Thread

Copying one cell to muliple cells

 
 
GW Dyson
Guest
Posts: n/a
 
      22nd Aug 2004
Cell a1 is a date cell. Cells b1-b30 are date cells. What I am trying to do
is every time that I enter a new date in Ai, I want it to go to a blank cell
in b column and not over write the dates that are already there.

A B
2/3/04 1/6/04
1/20/04
1/25/04
2/3/04



 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      22nd Aug 2004
right click sheet tab>view code>copy\paste this>format col B as desired date
>save.

Now when you put a date in a1 such as 8/1, the last cell+1 in col b will get
that date.

Private Sub Worksheet_change(ByVal Target As Range)
If Target.Address <> "$A$1" Then Exit Sub
Cells(Cells(Rows.Count, "b").End(xlUp).Row + 1, "b") = Target
End Sub

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"GW Dyson" <(E-Mail Removed)> wrote in message
news:Qk3Wc.4441$(E-Mail Removed)...
> Cell a1 is a date cell. Cells b1-b30 are date cells. What I am trying to

do
> is every time that I enter a new date in Ai, I want it to go to a blank

cell
> in b column and not over write the dates that are already there.
>
> A B
> 2/3/04 1/6/04
> 1/20/04
> 1/25/04
> 2/3/04
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying cell contents from many cells and pasting into one cell MDN Microsoft Excel Misc 7 10th Dec 2007 08:56 PM
copying data to muliple worksheets =?Utf-8?B?SG9nb21ldGVy?= Microsoft Excel Programming 1 4th Nov 2006 06:37 PM
Copying functions from one cell to other cells =?Utf-8?B?YWFyb253ZXhsZXI=?= Microsoft Excel New Users 4 6th Dec 2005 04:25 PM
Re: Copying values from cells if another cell contain value a94andwi Microsoft Excel Programming 0 8th Sep 2005 12:25 PM
Copying one cell to muliple cells GW Dyson Microsoft Excel Discussion 1 22nd Aug 2004 07:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:25 AM.