?
Solved

excel  5.0   VBA

Posted on 1998-08-12
2
Medium Priority
?
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…
Suggested Courses

770 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