Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-23-2018, 08:51 AM
Roger Govier Roger Govier is offline Mail every worksheet with address in A1 Windows 10 Mail every worksheet with address in A1 Office 2016
Novice
 
Join Date: Oct 2017
Location: Abergavenny, Wales, UK
Posts: 13
Roger Govier is on a distinguished road
Default

Hi

In Ron's code, immediately after
sh.copy
and before
Set wb = ActiveWorkbook

insert the following 3 lines of code and that should achieve what you want
Code:
    ActiveSheet.UsedRange.Copy
    ActiveSheet.UsedRange.PasteSpecial Paste:=xlPasteValuesAndNumberFormats
    ActiveSheet.UsedRange.PasteSpecial Paste:=xlPasteFormats
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mail merge just part of one worksheet tomseeley Excel 0 01-25-2014 12:10 PM
Mail every worksheet with address in A1 How to forward all e-mails from one address to five (5) other e-mail address? adi2012 Outlook 1 09-09-2012 06:41 PM
Mail every worksheet with address in A1 Word mail merge from a protected Excel worksheet Platform Mail Merge 10 09-28-2011 05:12 AM
cannot receive my own e mail and from same address vb55 Outlook 0 03-13-2009 11:38 AM
Mail every worksheet with address in A1 mail receipent with an excel worksheet attachment jburke@holidayinnislip.co Office 1 11-14-2005 08:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft