ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   PasteValue Without Selecting (https://www.excelbanter.com/excel-programming/274596-re-pastevalue-without-selecting.html)

William[_2_]

PasteValue Without Selecting
 
Hi Dan

sInput.Range("Y22:Y200").Value = sInput.Range("Y22:Y200").Value

--
XL2002
Regards

William


"Dan Gesshel" wrote in message
...
| Hello.
|
| I want to do a PasteValue over the same range to keep the values and wipe
| the formulas. I thought this would work:
|
| sInput.Range("Y22:Y200").Copy
| sInput.Range("Y22:Y200").PasteSpecial xlPasteValues
|
| Unfortunately, this is still selecting the cells. Is there a way to do a
| PasteValue without selecting the cells in any way? Any help would be
greatly
| appreciated.
|
| Thanks.
|
| Dan
|
|




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

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