Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy format macro needed
Hi,
It appears that you have recorded the code so you can do what you require by simply repeating the Paste Special a second time but paste Formats. There is no need to copy again; just do the Paste Special twice; first time Values; second time Formats. -- Regards, OssieMac "LiAD" wrote: Hi, I am using a copy paste macro to take the contents of certain cells from a database and transfer them to other worksheets. The code I am currently using is Range("C3:O200").Select Application.CutCopyMode = False Selection.Copy Sheets("CB190").Select Range("D10").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Is it possible I can change this code to also copy text and cell formats at the same time? i.e. text colour, cell filled colour, text size, text colour etc Thanks LiAD |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro needed to copy groups of data from one spreadsheet to anothe | Excel Programming | |||
Help needed... please (Copy Past Macro) | Excel Programming | |||
macro needed to compare value and copy data underneath it to anoth | Excel Discussion (Misc queries) | |||
macro needed to copy blocks of cells across to list of cells down | Excel Programming | |||
Conditional Copy Macro Help Needed | Excel Programming |