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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save Individual Worksheet as HTML file

Status
Not open for further replies.

mcelligott

Programmer
Apr 17, 2002
135
US
Hello all,

Through VBA I would like to save only one sheet from an Excel workbook as a single file web page. I can save the entire workbook but haven't figured out how to save only the one sheet.

Any help would be greatly appreciated.

Thanks,

Bob
 
Have you tried recording this as a macro, then adjusting? It is fairly easy.

expression.Add(SourceType, FileName, Sheet, Source, HtmlType, DivID, Title)

Sheet is a parameter. So you can declare any sheet of a workbook to be saved as HTML.

Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top