troubleshooting Question

Excel VB

Avatar of Rrave26
Rrave26 asked on
Microsoft ExcelVB Script
4 Comments1 Solution233 ViewsLast Modified:
I am developing a metrics tracking database in excel.  I have multiple worksheets, some that need to be consolidated or eliminated, but that is not the point, as it is still a work in progress. The firs issue I am having is that one worksheet, Home, needs to be the first worksheet that is opned everytime regardless of what worksheet was editited and saved in the previous session.  I don't want users being invited to dig around in other worksheets.  I created some vb script and put it at the top of that sheet that looks like this:

Private Sub Workbook_Open()
Sheets("Home").Activate
End Sub

simple but it doesn't work.  It won't open the file to the HOME worksheet everytime.

The second issue is that I created "Main Menu" buttons to return the users back to the home worksheet.  My problem is that when they click on that button and then navigate back to that worksheet they are looking at the main menu button.  How do ensure that everytime one of the three dashboard reoprts are open, Dashboard, HBUS Dashboard and HBCAdashboard are opened they open at the top of the sheet?  Is it as simple as writitng code into each sheet activiating cell A1?
Prouduction-IM-METRICS-T-V01.xlsm
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros