Send worksheet via email using VBA but paste values and not formulas

LNorton86

New Member
Joined
Feb 17, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Very new to VBA so I have written a very basic code so that a worksheet in my workbook will send via an email once I run the macro. This does all work fine however when copying the worksheet I want the format to stay the same and not paste the formulas as the sheet picks up information from a different work sheet in the work book and when sending on email these are copied over too and returning a #NA. Any help on this would be appreciated, below is the code I have written and a quick screen shot of the sheet for what I want to send.

1645091935870.png



1645091844730.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi,

Thanks for your response however email bounced back undelivered?
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,635
Members
449,043
Latest member
farhansadik

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top