Export Excel Table to Word
Put this into an Excel module:
VBA:
Code:
Sub PushSelectionToWord()
Dim wdApp As Object
Set wdApp = GetObject(, "Word.Application")
Selection.Copy
wdApp.Selection.Paste
Set wdApp = Nothing
End Sub
Go back to Excel, select the range of cells you want to send over, and run the macro.
It will create a table in Word of the cells you selected.
If your purpose to display data only, you can save as excel file in a web page which only display data not formula. if open this web page in Internet Explorer there will be an option to edit data (not formula) in excel.
If you are more interested in the PDF route, I'll throw in a second vote for PDF Creator. It's an awesome little free application that works very well. It also exposes its classes to VBA, so that you can code it as well, as I show here:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.