Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

copy date from one column to another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
-D- - 21 Mar 2008 17:23 GMT
I want to copy data from one column to another column, but add the copied
value to existing data.  The field I'm copying from contains dates.  The
field I'm copying to contains text.

For example:

Before the copy:
Column A                       Column B
3/21/2008                     Lorem Ipsum dolor...etc.

After copy:

Column B
Lorem Ipsum dolor...etc. Date in: 3/21/2008

How can I accomplish this?

Thanks for any help.
Regards.
Don Guillett - 21 Mar 2008 18:04 GMT
Sub addtocolb()
For Each c In Range("a2:a4")
c.Offset(, 1) = c.Offset(, 1) & _
" Date in: " & Format(c, "mm/dd/yyyy")
Next c
End Sub

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I want to copy data from one column to another column, but add the copied
>value to existing data.  The field I'm copying from contains dates.  The
[quoted text clipped - 15 lines]
> Thanks for any help.
> Regards.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.