+ Reply to Thread
Results 1 to 15 of 15

Complex UserForm for Addding / Amending / Logging / Renewing

  1. #1
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Complex UserForm for Addding / Amending / Logging / Renewing

    Good day All,

    Would anyone be able to assist me with my database?

    I have got the UserForm to open and populate when I click on a 'risk' within the searchlistbox, however I am having difficulty with the 'reinsurers' listbox where I need to be able to select 1 or many and is separated a line break.

    I can populate but I cannot seem to add it onto the table row or when I click amend it just resets the box but doesn't add the changes to the table.

    Also, I want to be able to track and forecast changes on 'risks' that are the same... is this possible?
    one last thing is the locations - I have them on a separate sheet and I want to create a map - but each table for the location represent a group and I want to be able use the table name for the location and not the individual locations - this is confusing to explain so ignore if I'm not making sense.

    I'm sorry if this is a lot to ask but I've been struggling.

    thank you.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Hi all, anything I can do or add to assist with my question above?

    You can ignore the forecast request. just the initial question would be of much help.

    Thank you.

  3. #3
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Hi All, still struggling here... if someone can please assist, its beyond me right now

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,444

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Your workbook won't open here. Not certain if it is just my computer or ???

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,909

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    @Logit: Opened OK for me. I have not investigated further!
    Last edited by JohnTopley; 04-09-2024 at 02:17 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Should open... i managed to download the one i attached and it opened fine.

  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Are you running 64 bit ????? - it will not open for me on 32 bit.
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  8. #8
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Yes 64 bit... I 'commented' out the code that i think is giving issues. See attached?New Testing Database (28122023) (1).xlsb

  9. #9
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Any luck from anyone?

  10. #10
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Quote Originally Posted by MyForcey View Post
    Yes 64 bit... I 'commented' out the code that i think is giving issues. See attached?Attachment 865888
    Does this work?

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,137

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    You've had nearly 300 views and no offers of help, which is unusual. Both attachments open for me, but I am on 64-bit. I can't help with VBA - sorry.

    I suggest you paste the VBA code into your next post for members to scrutinise - don't forget to encase it in code tags.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  12. #12
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Is not the first part of your query similar to that solved in March 2022.
    As per file attached.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Quote Originally Posted by torachan View Post
    Is not the first part of your query similar to that solved in March 2022.
    As per file attached.
    Hi Torachan, thank you - yes similar, and I did indeed go back to check what you had done. I would like to thank you again; you have helped tremendously, and I have learnt a lot from you.
    My issue arises where I have made so many changes and additions since then that I am unable to apply some of your code to mine that actually works.

    main issues on this code is the 'Amend' button not working and when selecting a record, the reinsurer I selected doesn't populate, also doesn't seem to add when I add a new record with the selected reinsurers - it's just blank. And ticking the reinsurer if click add then if I click on that the reinsurer is blank.
    Last edited by MyForcey; 05-27-2024 at 11:45 PM.

  14. #14
    Forum Contributor
    Join Date
    08-02-2021
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    112

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Please may you assist me?

  15. #15
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,411

    Re: Complex UserForm for Addding / Amending / Logging / Renewing

    Sorry I would have to completely re-code your app. - I do not work with 'rowsource' for data handling - with its unpredictable behaviour it is best avoided - best to anticipate problems before they occur.
    Look back at my previous submission and code back from there - keep it simple.

+ 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. Ticket number logging VBA & Userform
    By CTGCWIQC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2020, 11:17 PM
  2. Amending datasheet thru userform
    By cupid800429 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2017, 02:45 AM
  3. [SOLVED] Excel Userform - retrieving and amending data
    By christopherjward in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2013, 06:58 PM
  4. Incremental Addding
    By kitty7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2012, 06:31 AM
  5. Amending an entry based on userform search
    By hey1000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2010, 01:30 AM
  6. Amending/Updating Row with userform
    By jodyatspd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2009, 04:51 AM
  7. [SOLVED] Addding a combobox to a workbook?
    By BerkshireGuy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2005, 06:05 PM

Tags for this Thread

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