Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Isa Isa is offline
external usenet poster
 
Posts: 16
Default Excel html workbook

I have a 40-sheet Excel workbook that is published as html for intranet
access. I want the users to see sheet2 whenever they click on the hyperlink
(rather than the worksheet that was displayed with the workbook was last
saved). Excel doesn't seem to recognize ranges when the workbook is saved as
html, so using //oncall-docs.htm#sheet2 doesn't seem to work. Any
suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Excel html workbook

I have had success with this routine. Just replace "Menu" with the name of
the sheet you want to open with.

Private Sub Workbook_BeforeClose(Cancel As Boolean)
If Sheets("Menu").Visible = False Then
Sheets("Menu").Visible = True
ActiveSheet.Visible = False
ElseIf Sheets("Menu").Visible = True Then
End If
End Sub
--
Pops Jackson


"ISA" wrote:

I have a 40-sheet Excel workbook that is published as html for intranet
access. I want the users to see sheet2 whenever they click on the hyperlink
(rather than the worksheet that was displayed with the workbook was last
saved). Excel doesn't seem to recognize ranges when the workbook is saved as
html, so using //oncall-docs.htm#sheet2 doesn't seem to work. Any
suggestions?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from processing HTML? IE paste raw html. nick Excel Discussion (Misc queries) 2 April 21st 23 05:12 PM
Save Workbook as HTML sjwopg Excel Discussion (Misc queries) 0 January 6th 10 08:25 PM
specify each sheet name when saving workbook as html [email protected] Excel Discussion (Misc queries) 3 May 7th 07 07:01 PM
hyperlink tospecific sheet of html workbook dejaveu93 Excel Worksheet Functions 0 June 29th 06 04:13 PM
Publishing Workbook or Worksheet (HTML) James W.[_2_] Excel Programming 1 June 17th 05 09:46 PM


All times are GMT +1. The time now is 09:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"