+ Reply to Thread
Results 1 to 3 of 3

Userform Multipage Event Change

  1. #1
    Registered User
    Join Date
    07-16-2008
    Location
    TO
    Posts
    18

    Userform Multipage Event Change

    Hi,

    I have a multipage at the top of my Userform. However, depending on what tab I pick from the multipage, I want a value to be entered into the excel spreadsheet.

    For example, if I have tabs called "SingleDrawing" and "MultipleDrawings" in my multipage, then anytime i click the "SingleDrawing" tab I want the word "Single" to be entered into cell AL16 and if i click the MultipleDrawings tab, I want the word "Multiple" to be entered into cell AL16. Is this possible? If so could somebody show me some code to do it? thanks alot

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon sepandb

    Assumptions :
    First tab is called "Single"
    Second tab is called "Multiple"
    Multipage control is called "MultiPage1"

    Something like this behind the userform will do what you require :
    Please Login or Register  to view this content.
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can use the MultiPage's page value which starts at 0. If he first tab is for single 7 the second for multiples use
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1