Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Opening A Specific Excel Sheet

Hello all,


Is there anyway to code in HTML to open a specific sheet in excel?
Like is there some way that I can make a link for my webpage that when
clicked, will go to let say, sheet 2?

  #2   Report Post  
Henry
 
Posts: n/a
Default

SPatel,

If you save your workbook with sheet2 as the active (showing) sheet then it
will always open with that sheet showing.

If the HTML page can save the workbook then you need to put this code in
This Workbook

Alt + F11, Double click ThisWorkbook in the project pane and paste this in.


Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Sheets("sheet2").Select
End Sub


Henry

wrote in message
ups.com...
Hello all,


Is there anyway to code in HTML to open a specific sheet in excel?
Like is there some way that I can make a link for my webpage that when
clicked, will go to let say, sheet 2?



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
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM
Excel won't copy outside sheet Jack Sons Excel Discussion (Misc queries) 6 May 17th 05 10:05 PM
opening multiple instances of excel John B Excel Discussion (Misc queries) 4 January 28th 05 11:31 PM
Unable to open excel sheet in Protected mode from VB 6.0 ourspt Setting up and Configuration of Excel 0 January 26th 05 11:07 AM
Excel crashes when opening excel document by double-clicking icon yasminejade Excel Discussion (Misc queries) 3 January 14th 05 09:40 AM


All times are GMT +1. The time now is 08:09 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"