Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Duplicate Values on Multipage form

Good morning,

I'm using a multipage form - each page representing a different day of the
week(Day1 - Day5). Each page contains the same textboxes, comboboxes, and
checkboxes. Many times whatever the user inputs for Day 1, will work with
Day 2 or Day 3. I would like to simplify user input by duplicating whatever
is inputted into Day 1 into the rest of the pages. The user then has the
option to change values as needed on the rest of the pages (days). Is this
possible?

Robbyn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Duplicate Values on Multipage form

Robbyn,

Should be. Just copy across as entered, something like

Private Sub TextBox1_Change()
With Me.MultiPage1
.Pages(1).TextBox2.Text = TextBox1.Text
.Pages(2).TextBox3.Text = TextBox1.Text
End With
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Robbyn" wrote in message
...
Good morning,

I'm using a multipage form - each page representing a different day of the
week(Day1 - Day5). Each page contains the same textboxes, comboboxes, and
checkboxes. Many times whatever the user inputs for Day 1, will work with
Day 2 or Day 3. I would like to simplify user input by duplicating

whatever
is inputted into Day 1 into the rest of the pages. The user then has the
option to change values as needed on the rest of the pages (days). Is

this
possible?

Robbyn



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Duplicate Values on Multipage form

Thanks again Bob. A simple solution to what I thought was a difficult
problem.
Hope you have a Happy Easter!

"Bob Phillips" wrote:

Robbyn,

Should be. Just copy across as entered, something like

Private Sub TextBox1_Change()
With Me.MultiPage1
.Pages(1).TextBox2.Text = TextBox1.Text
.Pages(2).TextBox3.Text = TextBox1.Text
End With
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Robbyn" wrote in message
...
Good morning,

I'm using a multipage form - each page representing a different day of the
week(Day1 - Day5). Each page contains the same textboxes, comboboxes, and
checkboxes. Many times whatever the user inputs for Day 1, will work with
Day 2 or Day 3. I would like to simplify user input by duplicating

whatever
is inputted into Day 1 into the rest of the pages. The user then has the
option to change values as needed on the rest of the pages (days). Is

this
possible?

Robbyn




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Duplicate Values on Multipage form

"Robbyn" wrote in message
...
I'm using a multipage form - each page representing a different day of the
week(Day1 - Day5). Each page contains the same textboxes, comboboxes, and
checkboxes. Many times whatever the user inputs for Day 1, will work with
Day 2 or Day 3. I would like to simplify user input by duplicating
whatever
is inputted into Day 1 into the rest of the pages. The user then has the
option to change values as needed on the rest of the pages (days). Is
this
possible?


Hi Robbyn,

Another option you should look into when designing this type of UserForm
is the TabStrip control. This control allows you to display tabs just like
the MultiPage control, but rather than having a duplicate set of controls
for each tab, you use exactly the same controls for every tab. As the user
clicks different tabs, you trap the TabStrip_Change event and move data in
and out of the controls as appropriate for the current value of the selected
tab. Any array of a User-defined Type that has a member for each control
makes this a very simple operation.

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


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 Form Question NFL Excel Discussion (Misc queries) 4 December 30th 09 02:21 PM
Check for any data changes in a form with multipage object Bert Neuenschwander Excel Programming 2 September 24th 04 06:31 AM
Multipage & Spinbutton controls on a form Bhuktar S Excel Programming 1 April 21st 04 01:50 PM
Multipage Object on User Form Paul Cheers Excel Programming 2 November 27th 03 11:40 AM
Can I set a page of a Multipage form to active? John T Ingato Excel Programming 2 October 11th 03 12:15 AM


All times are GMT +1. The time now is 08:29 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"