Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
My Vba program copy selected objects from Excel and create a very simple PDF file. All the objects are pictures format I wonder if there is a way to create a similar HTML file directly (not using Word as an Intermediary) instead of PDF Thanks a lot Avi |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Record a macro whilst performing a saveAs HTML or Publish. I got these 2:
Sub Macro1() ActiveWorkbook.PublishObjects.Add(xlSourceSheet, _ "C:\Documents and Settings\Nick\Desktop\Page.htm", "Sheet1", "", xlHtmlCalc, _ "Book1_26839", "").Publish (True) End Sub Sub Macro2() ActiveWorkbook.SaveAs Filename:= _ "C:\Documents and Settings\Nick\Desktop\Book1.htm", FileFormat:=xlHtml, _ ReadOnlyRecommended:=False, CreateBackup:=False End Sub Depends what you need. NickHK "avi" wrote in message s.com... Hello, My Vba program copy selected objects from Excel and create a very simple PDF file. All the objects are pictures format I wonder if there is a way to create a similar HTML file directly (not using Word as an Intermediary) instead of PDF Thanks a lot Avi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Export to HTML with Validation dropdown list | Excel Programming | |||
Export as HTML Macro and other odds and ends | Excel Programming | |||
Excel features NOT supported when you export to HTML | Excel Discussion (Misc queries) | |||
How do I export excel data to an html file? | Excel Programming | |||
Export range to html | Excel Programming |