Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-06-2012, 09:07 AM
Gratje Gratje is offline Unhiding a workbook and activating it in VBA Windows 7 64bit Unhiding a workbook and activating it in VBA Office 2007
Novice
Unhiding a workbook and activating it in VBA
 
Join Date: Apr 2012
Posts: 3
Gratje is on a distinguished road
Default

Hi Paul,
No, there is nothing in the code of file3 about changing visibility of anything. In fact when I put a hyperlink in file1 directly to file3, file3 is opened and becomes the active window. It is only when file2 is used as an intermediate file, and this file is closed that file3 becomes hidden and file1 the active window. I guess this is excel behaviour (or maybe a bug?). I can understand when 3 files are opened and the "middle" file is being closed that excel doesn't know where to go (apparently it chooses to go to file1). What I don't understand is that one of the remaining files gets hidden.
The solution I'm looking for is how can I force excel to make file3 the active window when file2 is closed. I'm confident that if I can do this, file3 doesn't get hidden.
Reply With Quote
 

Tags
activate, unhide, workbook



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unhiding a workbook and activating it in VBA #REF! error when opening a workbook that contain a refference to another workbook tanababa Excel 2 06-07-2012 03:11 PM
Range(Cell1,Cell2) Error on another workbook controlling some other workbook? tinfanide Excel Programming 1 02-09-2012 04:08 PM
Unhiding a column Maureen Excel 3 09-16-2011 08:57 AM
Unhiding a workbook and activating it in VBA macro to transfer data from one workbook to another workbook virsojour Excel Programming 5 02-01-2011 08:58 PM
Unhiding a workbook and activating it in VBA Select a range in one one workbook while working in other workbook Slow&Steady Excel 1 02-21-2010 03:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft