+ Reply to Thread
Results 1 to 3 of 3

Ok vb code for User Form does not work, it save data info wrong

  1. #1
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2021
    Posts
    351

    Ok vb code for User Form does not work, it save data info wrong

    I'm having trouble with my user form. When I enter new data and save it, the surname doesn't get copied to column Z like it's supposed to.
    Even when I add a new main member and two other members, the surname still doesn't copy to column Z. Then, if I add another new main member and members,
    it replaces the first non-main member and adds the new members below it, so I end up losing the two members I added before.
    It seems like there's an issue with copying the surname to column Z.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by hendrikbez; 04-12-2024 at 08:29 AM.

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,975

    Re: Ok vb code for User Form does not work, it sve data info worng

    Perhaps the issue is using column A to find the nextrow?

  3. #3
    Forum Contributor
    Join Date
    09-03-2008
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2021
    Posts
    351

    Re: Ok vb code for User Form does not work, it sve data info worng

    Thank you for the hint, that worked

+ 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. VBA code to open a user form if the user form is located in an addin?
    By bresman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-19-2019, 09:04 AM
  2. [SOLVED] VBA to auto save data each time it's entered into a work sheet frm user form
    By MG3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2015, 11:01 AM
  3. Replies: 2
    Last Post: 02-10-2014, 11:52 AM
  4. [SOLVED] Making a user form button work to save data
    By Bigd29 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2012, 06:13 AM
  5. Info from User Form to Data sheet and back
    By Bafa in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-03-2011, 07:47 AM
  6. Unload and placement wont work in user form code
    By vn900 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2011, 06:36 AM
  7. [SOLVED] Retrieving data from work sheet to USER FORM
    By syedobaidullah@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2005, 08: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