Solved

excel  5.0   VBA

Posted on 1998-08-12
2
135 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 50 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now