Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I'd like to be able to save a workbook as a single page non-interactiv web page. I'd like the user to be able to select both the name for th file and the save path. So far all I can come up with is: Sub Savesheet() With ActiveWorkbook.PublishObjects.Add(xlSourceSheet, _ "C:\Documents and Settings\My Documents\Book1.mht", "Sheet2" "", _ xlHtmlStatic, InputBox("enter file name"), "") .Publish (True) .AutoRepublish = False End With End Sub The user can select a file name only. I'd like to call a file control so the user can select both a file nam and a path. Thank -- tmor ----------------------------------------------------------------------- tmort's Profile: http://www.excelforum.com/member.php...fo&userid=2105 View this thread: http://www.excelforum.com/showthread.php?threadid=38907 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SAVE and SAVE AS options disappeared from the drop down FILE menu | Excel Discussion (Misc queries) | |||
control gif file name when I save as web page? | Excel Discussion (Misc queries) | |||
Excell2003 (SP-1) File > Save and File > Save As.. grayed out | Excel Discussion (Misc queries) | |||
Excel marcos firing on file save as but not file save | Excel Programming | |||
Save File to Another Directory, but not change Users File Save location | Excel Programming |