Excel Formatting

ozstephan

Board Regular
Joined
Nov 19, 2005
Messages
52
Hi everyone:
I am using an excel document with multiple sheets which is also a shared document. I have set it up with one sheet being a menu with hyperlinks.

What I am trying to work out is if anyone knows how I can set the document up so when anyone opens it, it always opens to the sheet that has the menu (ie sheet 1) rather than opening to whatever page the document was last saved on?

Thanks everyone
 
Do all sheets have autofilter? If not, that causes that error to occur. I regret that I don't know how to check each sheet for autofilter, so you can either put a filter in each sheet or see if someone else can find a way around that. I'm not really very good with VBA :oops:

Happy Holidays.
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
An alternate solution, if every sheet does not have a filter, would be to select each sheet with a filter in it and unfilter.

Code:
Private Sub Workbook_Open() 
Sheets("sheet1").Select
    Selection.AutoFilter Field:=1 'this unfilters column 1
    Selection.AutoFilter Field:=2 'this unfilters column 2 etc..etc


Sheets("sheet2").Select
    Selection.AutoFilter Field:=1
    Selection.AutoFilter Field:=2
end sub
 
Upvote 0
Joel:
Thanks so much for your help. The last option with the individual sheet workings was fantastic and allowed me to do everything I was hoping for.

Thanks again.
Stephan
 
Upvote 0

Forum statistics

Threads
1,216,207
Messages
6,129,508
Members
449,512
Latest member
Wabd

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top