+ Reply to Thread
Results 1 to 9 of 9

Update Userform Template List

  1. #1
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Question Update Userform Template List

    I have been searching the web for a solution with no success
    If I open my userform template to create a new workbook on the userform and select an item from a combo box all data will be saved to the new workbook when i name and save it on close. If i need to add additional items to the list i have a popup userform to add the item which updates the combobox list on the new workbook. How do I get it to update the original userform template list so next time I open the userform template to create a new workbook the item will show in the combobox list

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Update Userform Template List

    It's not clear what you want. presumably you have created a userform to list workbooks in a folder but without seeing this it's hard to help
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Re: Update Userform Template List

    Roy

    I have attached my workbook so hopefully you can see what i am trying to achieve. I have different worksheets within the existing workbook which are defined name lists. What i need to be able to do is when i open the original workbook to create new workbook under a new job number any add additional data through userforms with combo boxes that is add to the defined lists is updated to the original workbook when I save the new workbook.
    Attached Files Attached Files

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Update Userform Template List

    I'm still not sure what you are doing. Do you want to update the Welcome screen form?

    Do you have a similar workbook for each job? If so I think you are making the job overcomplicated, one master workbook could store all the data with an identifying column that holds the job number. Reports could then be produced by job number

  5. #5
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Re: Update Userform Template List

    Roy

    Are you saying that I can save all the additional workbooks that will be created by job numbers in the Master Workbook if so that would be great. I am a novice at this VBA stuff

  6. #6
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Re: Update Userform Template List

    Roy

    How would i go about doing what you suggested and would my Project Summary form still show individual job numbers data

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Update Userform Template List

    I really don't follow what you are trying to do. There's so may userforms in there & I still don't know wheteer each job is assigned to a separate workbook.

  8. #8
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Re: Update Userform Template List

    Yes each job has its own workbook this is the reason why i was suggesting that any additions to the Defined Names List on individual workbooks would need to be updated to the template workbook list as well

    What we are doing is recording all data associated with the job and comparing it to what was budgeted
    for each component of the job. This is displayed on the Project Summary Form

    Each job will saved to a folder in my documents called Project Costs. These job numbers will be opened on a daily bases to add additional data and then saved bac to the folder

  9. #9
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Update Userform Template List

    Why have you not got a proper Excel template, *.xlt?

    To add any new workbooks to the Combobox you would need to add the workbook name to the named range which would then be updated with the Rowsource. However, I would either use a Dynamic Named Range as the RowSource or load the Combobox bu defining the range within the code, not actually adding it manually as you have

+ 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