Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
is there a way to have code run in a macro to automatically save a
chart / or workbook as a webpage? Thanks! Ryan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Give this one a try:
'--------------------------------------------------------------------------------------- ' Module : SaveAsHTML ' DateTime : 6/19/2007 22:34 ' Author : Mark Ivey - Modification from Dave Hawley's SaveAsPrompt Module @ ' http://www.ozgrid.com/forum/showthread.php?p=312642 ' Purpose : To automatically save a file as an HTML Webpage (without overwrite prompt) '--------------------------------------------------------------------------------------- Sub SaveAsHTML() Dim StrSave As String 'Change the path and filename as desired StrSave = "C:\MyFile2" If StrSave = "False" Then Exit Sub Else Application.DisplayAlerts = False ActiveWorkbook.SaveAs StrSave, FileFormat:=xlHtml Application.DisplayAlerts = True End If End Sub "Ryan" wrote in message ps.com... is there a way to have code run in a macro to automatically save a chart / or workbook as a webpage? Thanks! Ryan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SAVE AS: Webpage | Excel Discussion (Misc queries) | |||
To Hyperlink or save as Webpage? | New Users to Excel | |||
save as webpage? | Excel Worksheet Functions | |||
Save/ Send as webpage ? | Excel Programming | |||
How to save excel from webpage? | Excel Programming |