Solved

excel  5.0   VBA

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

708 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

20 Experts available now in Live!

Get 1:1 Help Now