ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Simple Paste Question (https://www.excelbanter.com/excel-programming/311165-simple-paste-question.html)

shawn

Simple Paste Question
 
How can I get the code below to paste formulas and formats
as well as values?


..PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False



Tom Ogilvy

Simple Paste Question
 
..PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False

--
Regards,
Tom Ogilvy

"shawn" wrote in message
...
How can I get the code below to paste formulas and formats
as well as values?


.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False





Kris

Simple Paste Question
 
Shawn,

Change your Paste:=xlValues to Paste:=xlPasteAll

Look in the Microsoft Excel Visual Basic help for the
pastespecial method for all of the valid options for
pastespecial.

Sincerely,

Kris

-----Original Message-----
How can I get the code below to paste formulas and

formats
as well as values?


..PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False


.



All times are GMT +1. The time now is 04:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com