?
Solved

VB/Excel question

Posted on 2003-02-19
4
Medium Priority
?
197 Views
Last Modified: 2010-05-01
I have a function which (successfully) opens a worksheet and deletes a particular row.. all is good.
But when I then manually go and open the spreadsheet the (only) worksheet is hidden and I need to go to format-sheet-unhide.
Any ideas why this would happen?
VB6/Excel 2k

Jay
0
Comment
Question by:QPR
[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
4 Comments
 
LVL 2

Expert Comment

by:JoaTex
ID: 7985056
Hi
Question?
Did you close your aplication before open the Spreadsheet?
0
 
LVL 11

Expert Comment

by:Steiner
ID: 7985617
Could you paste the code of your function here?
0
 
LVL 29

Author Comment

by:QPR
ID: 7989164
Have found the answer thanks....
the line of code to stop it happening is:
wbk.Parent.Windows(wbk.Name).Visible = True

where wbk is my Excel object.
Thanks again
Jay
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8098988
PAQ'd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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
Course of the Month11 days, 20 hours left to enroll

752 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