+ Reply to Thread
Results 1 to 2 of 2

Passing data from one form to another

Hybrid View

  1. #1
    Registered User
    Join Date
    07-12-2015
    Location
    IRELAND
    MS-Off Ver
    2013
    Posts
    1

    Smile Passing data from one form to another

    Hi

    First post. i haven't done VBA in a while, I moved onto Witness software so i'm a bit sketchy.
    I have 2 forms. One needs a specific access password, which I have done however based on the password, I need it to select specific range of sheets the user is allowed to see.

    I have tried this 'frmPassword.EOPASSTEXTBOX.Value = frmsheetselect.EOPASSTEXTBOX.Value but it doesn't work.
    So EOPASSTEXTBOX is the password data that I need the next form to retain but when it goes to initialise, it empties again.

    Any help appreciated

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Passing data from one form to another

    Store the value in public variable before closing first form.
    Best Regards,

    Kaper

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Passing data to an Excel form from a hyperlink?
    By pjwhitfield in forum Excel General
    Replies: 3
    Last Post: 02-23-2015, 08:13 AM
  2. Passing Values from User Form
    By srinivassurapareddi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2012, 01:49 PM
  3. [SOLVED] Passing properties from VB DLL Form to VBA
    By Jacques Grobler in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-22-2012, 01:20 AM
  4. Passing inputs from one user form to another
    By daymaker in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-18-2011, 11:02 AM
  5. Passing Excel Form Data to Access Table
    By gatorator in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2011, 12:28 PM
  6. Passing parameters to OK button in a form
    By munzer1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2007, 07:06 PM
  7. User Form value passing problem
    By brusk2@uiuc.edu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2006, 12:24 PM

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