Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Paste or PasteSpecial without CF

Hi Group....here is a question that I've seen a couple of times
reading some old posts. How can you paste or paste special everything
but conditional formatting and data validation?
I can paste special, values only, or paste and clear all formatting,
but neither get what I need.
Here is a snippet of the vba that I have altered to use in my project:

Sheets("JobLogEntry").Select
While Len(Range("A" & CStr(LSearchRow)).Value) 0

'If value in column Q = LSearchValue copy entire row to SCHEDULED
If Cells(LSearchRow, "Q").Value = LSearchValue And _
(Cells(LSearchRow, "P") = "SCHEDULED" Or Cells(LSearchRow, "P") =
"PENDING ARRIVAL") Then

'Select row in JobLogEntry to copy
Rows(CStr(LSearchRow) & ":" & CStr(LSearchRow)).Select
Selection.Copy


'Paste row into SCHEDULED in next row
Sheets("SCHEDULED").Select
Rows(CStr(LCopyToRow) & ":" & CStr(LCopyToRow)).Select
ActiveSheet.Paste

Is there any way to copy and paste with everything intact but
Conditional Formatting and Data Validation, then let me set up the
Conditional Formatting for the destination worksheet and not have it
cleared each time I search? Any guidance will be most appreciated!
Thanks in advance!
Ken
Reply
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
Cut, Copy, Paste, PasteSpecial grayed out. news.microsoft.com[_6_] Excel Discussion (Misc queries) 9 October 19th 17 08:45 PM
PasteSpecial Paste:= xlPasteFormats problem Ken Johnson Excel Programming 4 March 21st 06 11:25 AM
Paste vs PasteSpecial Gary''s Student Excel Programming 3 February 25th 06 06:29 PM
paste negative time with PasteSpecial Sylvian Excel Programming 20 September 2nd 05 06:03 AM
PasteSpecial Paste:=ColumnWidths Arvi Laanemets Excel Programming 3 February 8th 05 01:46 PM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"