+ Reply to Thread
Results 1 to 7 of 7

Partially completed userforms

  1. #1
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Partially completed userforms

    Good Morning,

    I have created a userform that simply adds data to a sheet. It all works perfectly well, checks there is no blanks etc and I am pretty happy with it.

    However one of my users wants something a bit more clever...
    1. To partially complete the form and save it to return to it later
    2. look at previous entries in the userform

    Are these things reasonably easy to code? I am still a bit of a newb at this sort of thing.

    Thanks in advance

    Robin

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Partially completed userforms

    As long as you don't Unload a userform using Hide instead all entered values remain in the form.

    On point 2 you need to elaborate a bit more as of what you would like to achieve.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Re: Partially completed userforms

    Hi Bakerman

    Hmm okay I will look into that. But I assume if you close and save the excel sheet then the temporary data gets deleted?

    So if a user adds a row of data via a user form can they review that row using the userform?

    Thanks

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Partially completed userforms

    1. Indeed, as soon as you close the file all is lost.

    2. If each row has some sort of unique identifier on which can be searched then Yes, no problem.
    Or if it's always the last entered bottom row that has to be displayed that's even easier.

  5. #5
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Re: Partially completed userforms

    1. Hmm I think that is going to go to cause more issues than it would solve.
    2. I have a unique Identifier on each row. Is there a code out there to look for them. I guess I can't guarantee it is always the bottom row.

  6. #6
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Partially completed userforms

    There's code out there but it's specific for each userform so you best post an example file with your userform and some desensitized data to work with.
    Otherwise it's going to become a back and forth story that has no ending.

  7. #7
    Registered User
    Join Date
    10-11-2016
    Location
    Aberdeen, Scotland
    MS-Off Ver
    2010
    Posts
    49

    Re: Partially completed userforms

    thanks man will jiggle it around and post it out.

+ 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. Replies: 3
    Last Post: 07-10-2014, 08:11 PM
  2. If "Completed" then move entire row to "Completed" worksheet
    By Reed1620 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-06-2013, 01:59 PM
  3. Macro only partially working
    By LilSisKin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-26-2013, 06:04 PM
  4. [SOLVED] Can A UserForm Be Partially Unloaded?
    By ScotyB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-22-2012, 06:23 AM
  5. VLOOKUP partially working
    By ih8xc in forum Excel General
    Replies: 4
    Last Post: 05-03-2011, 08:32 PM
  6. Error messages in vba to check if userforms have been completed fully
    By mrthebigman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2007, 02:16 PM
  7. [SOLVED] Partially protect a cell?
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM

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