Solved

excel  5.0   VBA

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ms access #TYPE! error on report when no data 4 67
VBA open file from excel cell 4 36
Microsoft Access combo box help 2 38
VB6 - Convert HH:MM into Decimal 8 51
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…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

920 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