?
Solved

excel  5.0   VBA

Posted on 1998-08-12
2
Medium Priority
?
160 Views
Last Modified: 2010-04-30
Hi:

I have GUI in one Excel workbook. In one sheet there is button. Users can click button to open a xls file, hide it  and come BACK to this sheet. I do not know the name of xls file , so OPEN methode can NOT be used.

In Office 97 it is easy question. But now I have to use Excel 5.0. Any good ideas?
0
Comment
Question by:vbtu
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
BlackAndWhite earned 100 total points
ID: 1468671
Pass the sheet itself as a parameter to the function that you call before hiding the current sheet.  When you want to activate the old sheet, you have the information in the parameter that came in!

I donot know how practical it is..but its an idea.
0
 
LVL 1

Expert Comment

by:BlackAndWhite
ID: 1468672


This is how you access the sheet you want to pass as parameter...
ActiveWorkbook.Worksheets("substitute_sheetname_here")
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month16 days, 2 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question