LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Formatting when copying

I am a using the following code to copy a column and insert beside active cell...

Sub AddColumn(
ActiveCell.Offset(0, 1).EntireColumn.Inser
Range("A14:A21").Copy ActiveCell.Offset(0, 1
Selection.PasteSpecial Paste:=xlFormulas, Operation:=xlNone, SkipBlanks:=
False, Transpose:=Fals
Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:=
False, Transpose:=Fals
Selection.PasteSpecial Paste:=xlDataValidation, Operation:=xlNone,
SkipBlanks:=False, Transpose:=Fals
End Su

It works except....I am using conditional formatting and UDF isformula to determine if my formula has been overtyped. The cell fill is yellow and CF makes the cell white when formula is present. When the column is copied the CF, tand the formula is copied, but the yellow cell fill is not. Im gueesing that it has something to do with the copied column having a formula in B17 and is white when it is copied. How can I copy over the the yellow cell fill

Many thanks in advanc
Bob
 
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
Formatting does not follow when copying from one cell to another Banker Excel Worksheet Functions 7 April 10th 10 01:11 AM
Copying formatting from a cell whose location I have calculated. sdm New Users to Excel 4 September 8th 08 08:40 PM
Cell Referencing problem when copying conditional formatting Sarah (OGI) Excel Discussion (Misc queries) 0 April 19th 07 04:54 PM
Copying cell formatting when selecting from a list denspec Excel Discussion (Misc queries) 0 February 14th 07 01:57 PM
Copying color formatting from cell to cell djm Excel Discussion (Misc queries) 1 September 21st 05 02:36 AM


All times are GMT +1. The time now is 10:37 PM.

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

About Us

"It's about Microsoft Excel"