Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() When I record a macro for publishing a sheet, I get this: Sub Macro2() ' ' Macro2 Macro ' Macro to save active sheet as static web page ' ' With ActiveWorkbook.PublishObjects.Add(xlSourcePrintAre a, _ "D:\Documents and Settings\My Documents\Schedule.htm", _ "August", "", xlHtmlStatic, "Schedule_2005_16684", "") .Publish (True) .AutoRepublish = False End With End Sub How do I get this to work on the active sheet, regardless of what it' name is? The workbook name is Schedule_2005, so what do the numbers after tha mean? Thanks for any and all help. I'm lost in this VBA stuff. Stellin -- Stellin ----------------------------------------------------------------------- Stellina's Profile: http://www.excelforum.com/member.php...fo&userid=2578 View this thread: http://www.excelforum.com/showthread.php?threadid=39186 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
publish as web page | Excel Discussion (Misc queries) | |||
Automate 'Publish as Web Page'? | Excel Discussion (Misc queries) | |||
Publish as Wed Page | Setting up and Configuration of Excel | |||
How to add todays date (static) to the current active cell using m | Excel Discussion (Misc queries) | |||
publish excel as web page | Excel Programming |