Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default UserForm not hiding

I have an application where the user opens an excel file, then clicks
an OptionButton that opens a UserForm. This UserForm (UF1) is a
report selection menu comprised of a MultiPage control with 7 pages.
The user selects a specific page and then has an assortment of
OptionButtons from which they can make their report selection. Once
the desired report is selected the UF1 'hides' and the appropriate
..xls file opens. When the user is done viewing or printing the
report they hit an exit CommandButton that closes the active workbook,
and returns them to the UF1. This works smoothly with one exception;
one of the reports (PEI.xls) when selected opens the file and then
also opens another UserForm (UF3)which appears on top of and to the
right side of the report. From this UF3 they make another selection
from a series of ComboBoxes. Once the selection is made the UF3
'hides' and the user views the PEI.xls. Again, no problems yet,
provided this is the first report the users selects. If however the
user selects any other report first, and then subsequently selects
this PEI.xls report, for whatever reasons the UF1 remains open and
visible, with the UF3 on top of it. How can this be, the UF1 hides
when a spefic report selection is first, but if it is not the first
selection the UF1 remains visible.

It is not a big problem, as the user can still make their selection,
and both UF1&UF2 will disappear, and the appropriate file opens. It
is just an annoyance and a mystery I'd like to solve.



TIA

Tony
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 179
Default UserForm not hiding

Tony

Can you post the code that hides the userform?

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Tony Bender" wrote in message
om...
I have an application where the user opens an excel file, then clicks
an OptionButton that opens a UserForm. This UserForm (UF1) is a
report selection menu comprised of a MultiPage control with 7 pages.
The user selects a specific page and then has an assortment of
OptionButtons from which they can make their report selection. Once
the desired report is selected the UF1 'hides' and the appropriate
.xls file opens. When the user is done viewing or printing the
report they hit an exit CommandButton that closes the active workbook,
and returns them to the UF1. This works smoothly with one exception;
one of the reports (PEI.xls) when selected opens the file and then
also opens another UserForm (UF3)which appears on top of and to the
right side of the report. From this UF3 they make another selection
from a series of ComboBoxes. Once the selection is made the UF3
'hides' and the user views the PEI.xls. Again, no problems yet,
provided this is the first report the users selects. If however the
user selects any other report first, and then subsequently selects
this PEI.xls report, for whatever reasons the UF1 remains open and
visible, with the UF3 on top of it. How can this be, the UF1 hides
when a spefic report selection is first, but if it is not the first
selection the UF1 remains visible.

It is not a big problem, as the user can still make their selection,
and both UF1&UF2 will disappear, and the appropriate file opens. It
is just an annoyance and a mystery I'd like to solve.



TIA

Tony



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding a button when hiding rows fergusor Excel Discussion (Misc queries) 2 August 10th 06 02:31 PM
Userform Patrick Molloy Excel Programming 1 September 9th 03 12:28 AM
UserForm Gabriel[_2_] Excel Programming 0 July 28th 03 04:40 PM
UserForm Gabriel[_2_] Excel Programming 0 July 28th 03 04:40 PM
Userform help Lorenzo Excel Programming 1 July 25th 03 01:05 PM


All times are GMT +1. The time now is 11:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"