Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Excel file to word or pdf

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
Does anyone know if there is a way to convert an excel file to word or pdf?

[conehead]
 
Google a program called PDFCreator (free).
 
Look at this, it works fine for me:

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.

It is not mine: see the original site, please
 
Cut-and-paste to Word gives you a Word table.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top