PC Review


Reply
Thread Tools Rate Thread

how to copy content AND formating with vba

 
 
T. S.
Guest
Posts: n/a
 
      25th Aug 2007
Hi there.
How do I copy the contents of cell a (contains text in several colors)
to cell B, so that colors/fonts etc are preserved?

Thanks in advance.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      25th Aug 2007
Exmpl:

Sub cpy()
ActiveSheet.Range("A1").Copy ActiveSheet.Range("B1")
End Sub

If you don't want to copy everything, you have to use the paste special
method to specify exactly what you want entered in the receiving range.


"T. S." wrote:

> Hi there.
> How do I copy the contents of cell a (contains text in several colors)
> to cell B, so that colors/fonts etc are preserved?
>
> Thanks in advance.
>
>

 
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
How do I copy ALL formating and setup? AFD at FONO Microsoft Excel Misc 5 26th Mar 2008 12:10 AM
copy comment content to cell content as data not as comment =?Utf-8?B?TGlsYWNo?= Microsoft Excel Misc 2 21st Jun 2007 12:28 PM
?? copy conditional formating =?Utf-8?B?cm9iZXJ0IG1vcnJpcw==?= Microsoft Access 1 7th May 2007 07:13 PM
Reference to content AND formating of target cell 0-0 Wai Wai ^-^ Microsoft Excel Discussion 3 8th Sep 2005 10:58 AM
Copy calendar formating only? =?Utf-8?B?Qm9iYmk=?= Microsoft Outlook Calendar 1 11th Mar 2005 01:29 PM


Features
 

Advertising
 

Newsgroups
 


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