This is probably a simple fix but I can't seem to crack it...the code below is pasting formulas rather than values. The copy/paste is near the bottom in the "desWS.Range" statements.
![]()
Please Login or Register to view this content.
This is probably a simple fix but I can't seem to crack it...the code below is pasting formulas rather than values. The copy/paste is near the bottom in the "desWS.Range" statements.
![]()
Please Login or Register to view this content.
Last edited by YukonSoDank; 04-09-2019 at 08:53 AM.
You need to use PasteSpecial Values with the Target Range rather than using Copy with source and destination.
https://docs.microsoft.com/en-us/off...e.pastespecial
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
And, by the way ...
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however you need to include code tags around your code.
Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.
Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
Okay, then I need some help..."Range("B8:M8") would need to paste in Q4:AB4....Range("B45:M45") would need to paste in Q8:AB8 in the sheet referenced prior in the code.
How about![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks