QPR
asked on
VB/Excel question
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
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
Could you paste the code of your function here?
ASKER
Have found the answer thanks....
the line of code to stop it happening is:
wbk.Parent.Windows(wbk.Nam e).Visible = True
where wbk is my Excel object.
Thanks again
Jay
the line of code to stop it happening is:
wbk.Parent.Windows(wbk.Nam
where wbk is my Excel object.
Thanks again
Jay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Question?
Did you close your aplication before open the Spreadsheet?