Saving a workbook as a .doc

alexransome

Board Regular
Joined
Jun 10, 2011
Messages
192
Hello,

Is it possible to use VBA code to save a workbook as a word doc.

I've seen that you can manually save the file and Ron de Bruin uses an example that saves files in different formats of excel.

Thanks for any help.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I don't think so. They are not compatible.
What would that even look like?
What is it exactly that you are trying to do?
If you are trying to export Excel data to Word, a common way to do it is through a Mail Merge.
 
Upvote 0
i believe this is what you are looking for:

if not try recording a macro when you manage to use the manual example and that should show how to do it. without seeing the manual example i would have 0 clue as my version of excel can't save as doc file without doing the way in the tutorial i posted.
 
Upvote 0
Blake, that tutorial looks like it is for creating a Word document via Excel VBA and saving it, but they said:
use VBA code to save a workbook as a word doc
which sounds to me like converting an Excel document to a Word document, which would be something totally different.
 
Upvote 0
which sounds to me like converting an Excel document to a Word document, which would be something totally different.

ah yeah you may be right, but this is about as close as i would be able to tell to "saving a workbook as a word doc".
create a doc, transfer the selection of text, save the doc. right? I'm not especially well versed in word because i use other programs for text based things so i could be entirely wrong, but i don't see any other way to do it.
 
Upvote 0
Yeah, that might be the best that you can do, other than a Mail Merge.
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

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