How To Close A Word Sheet From Excel Using VBA

Maury1704

New Member
Joined
Jan 13, 2016
Messages
24
Good day everyone my name is Maurizio and my problem is this.
I state that I use Microsoft Office Excel of 2007
Having said this I start by saying that: On an Excel sheet I would like to put some data that I will then need to be taken back as Attachments when sending E-mail.
But since I need to send formats of various kinds; I am forced to find a way to Create and Save this Data both in Format (Doc) and in that (Xls) and also in the classic (PDF)
Now: As for the Format (Pdf) I managed to create it and make it go inside my Subfolder called (Attachments)
Now what I would like to get the same from (Word) sheet
And also in this case I managed to create everything; Except that I can't Automatically Save it to my Subfolder
But I have to do it manually and I don't like it.
Ib more I ask you if you kindly could also help me with the format (Xls) Thanks
Greetings from A.Maurizio
(P.S) I Insert Link To Download The Test File:
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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