Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default refreshing a multipage

If you have a multipage on a userform that contains 40+ controls, is there a
way to 'refresh' or 'reload' the page? ...maybe a loop that loops throug all
the controls on the form and 'reloads' them?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default refreshing a multipage

How? Just calling userform_initialize() doesn't refresh all the labels,
combos, & textboxes. They all get their data from 1 of several sheets. They
Get data from the worksheet wsMySheet, so when wsMySheet is changed to a
different sheet (by a control on the same form) I need to refresh
everything...

"Nigel" wrote:

re-initialize the form should do it

--

Regards,
Nigel




"Charlie" wrote in message
...
If you have a multipage on a userform that contains 40+ controls, is there
a
way to 'refresh' or 'reload' the page? ...maybe a loop that loops throug
all
the controls on the form and 'reloads' them?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default refreshing a multipage

How? Just calling userform_initialize() doesn't refresh all the labels,
combos, & textboxes. They all get their data from 1 of several sheets. They
Get data from the worksheet wsMySheet, so when wsMySheet is changed to a
different sheet (by a control on the same form) I need to refresh
everything...


"Nigel" wrote:

re-initialize the form should do it

--

Regards,
Nigel




"Charlie" wrote in message
...
If you have a multipage on a userform that contains 40+ controls, is there
a
way to 'refresh' or 'reload' the page? ...maybe a loop that loops throug
all
the controls on the form and 'reloads' them?


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default refreshing a multipage

When you initialize your UserForm the controls presumably are set up? This
is the process I was referring to. If you want to change the references to
another sheet you need to re-assign them so you are initializing the
UserForm. You'll need to write the code to re-assign each control. Try to
make it as general purpose as possible so it can be re-used for other
sheets.


--

Regards,
Nigel




"Charlie" wrote in message
...
How? Just calling userform_initialize() doesn't refresh all the labels,
combos, & textboxes. They all get their data from 1 of several sheets.
They
Get data from the worksheet wsMySheet, so when wsMySheet is changed to a
different sheet (by a control on the same form) I need to refresh
everything...

"Nigel" wrote:

re-initialize the form should do it

--

Regards,
Nigel




"Charlie" wrote in message
...
If you have a multipage on a userform that contains 40+ controls, is
there
a
way to 'refresh' or 'reload' the page? ...maybe a loop that loops
throug
all
the controls on the form and 'reloads' them?



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
MultiPage OM Excel Discussion (Misc queries) 2 April 7th 06 01:31 PM
How do I use multipage Lawrence M Watt Excel Discussion (Misc queries) 1 October 24th 05 02:55 PM
Multipage Aksel Børve Excel Programming 1 March 1st 04 08:52 AM
Multipage Aksel Børve Excel Programming 0 March 1st 04 08:24 AM
MultiPage Michael[_25_] Excel Programming 3 January 6th 04 12:49 PM


All times are GMT +1. The time now is 12:08 PM.

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

About Us

"It's about Microsoft Excel"