Good morning,
I've been scouring the web the last several days to find code that will allow me to copy and existing worksheet into its own workbook, change a few things and then drop it into a pre-addressed e-mail in Outlook. The closest I have found is one that won't allow me to make changes to the worksheet once it is copied to its own workbook.
Sub CopyWorksheettoEmail()
Dim wb As Workbook
Set wb = Workbooks.Add
ThisWorkbook.Sheets("PRM Data").Copy After:=wb.Sheets(1)
'ThisWorkbook.Sheets("config").Copy After:=wb.Sheets(1)
wb.Application.Dialogs(xlDialogSendMail).Show "" & y & "[email protected]"
Set wb = Nothing
End Sub
Thanks,
Steve
Bookmarks