Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
RAP RAP is offline
external usenet poster
 
Posts: 49
Default How to use Object.Copy(Destination) method PasteSpecial(xlPasteVal

Hello, Folks
The following line in VB works fine, but it pastes the borders, etc...
assigned to the named EntryDate cell. Is there a way to ammend this line to
PasteSpecial (xlPasteValues) ?

Range("EntryDate").Copy shComments.Cells(iNextEmptyDateCell, "C")

Thanks,
Randy


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default How to use Object.Copy(Destination) method PasteSpecial(xlPasteVal

Hi Randy,

Try:

Range("EntryDate").Copy
shComments.Cells(iNextEmptyDateCell, "C"). _
PasteSpecial Paste:=xlValues
Application.CutCopyMode = False


---
Regards,
Norman



"RAP" wrote in message
...
Hello, Folks
The following line in VB works fine, but it pastes the borders, etc...
assigned to the named EntryDate cell. Is there a way to ammend this line
to
PasteSpecial (xlPasteValues) ?

Range("EntryDate").Copy shComments.Cells(iNextEmptyDateCell, "C")

Thanks,
Randy




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
Any method to copy the hyperlink address from an Office Object? Narnimar Excel Discussion (Misc queries) 2 January 13th 10 01:10 PM
PasteSpecial Method Error PW11111 Excel Discussion (Misc queries) 1 December 19th 06 01:24 PM
Using a PasteSpecial within a Destination:= line drdavidge Excel Worksheet Functions 0 July 13th 06 07:06 PM
.Copy Destination:= .PasteSpecial ??? myBasic[_2_] Excel Programming 2 November 12th 04 10:11 AM
Making VB PasteSpecial method to work the same as Excels Application John[_35_] Excel Programming 1 July 10th 03 05:20 PM


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

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"