+ Reply to Thread
Results 1 to 9 of 9

Save data from a UserForm to a worksheet

  1. #1
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    323

    Save data from a UserForm to a worksheet

    Hi,

    I need help to create a code that makes me save data from a userform to the worksheet from B to J.
    But it has to save the data in the next empty line every time. I will use it to register new clients in the worksheet.

    Hope somebody can help me solv this.

    Thanks in advance

    Best regards

    Øystein Breivik
    Attached Files Attached Files
    Last edited by Oeysbrei; 01-15-2018 at 02:16 PM. Reason: Change samplefile

  2. #2
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Save data from a UserForm to a worksheet

    Can you please upload an excel sheet not this pdf file.
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  3. #3
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    323

    Re: Save data from a UserForm to a worksheet

    Hi Thangavel D!

    Now i Have changed the file. There are so many different opinions of witch files to attache, so thats why I chose the PDF.

    Regards,
    Øystein Breivik

  4. #4
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Save data from a UserForm to a worksheet

    In the attached excel, the code & userform is missing. Could you please upload the correct file?!

  5. #5
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Save data from a UserForm to a worksheet

    Try this code & modify to your requirement.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    323

    Re: Save data from a UserForm to a worksheet

    Removed attacedment
    Last edited by Oeysbrei; 01-15-2018 at 01:15 PM. Reason: contains personal information

  7. #7
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Save data from a UserForm to a worksheet

    Hello,
    Code is missing in userform1 & the form is incomplete, because there is no update/cancel/ok buttons...

  8. #8
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    323

    Re: Save data from a UserForm to a worksheet

    Hi Thangavel D!

    It has all been a mess, so now I have made changes to the files and removed the files that has been posted before.
    I hope that these files has what you need to help me solve this challenge. The PDF file explains where to save the data.

    Thank you in advance!

    Regards,
    Ø. Breivik
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Save data from a UserForm to a worksheet

    Here you go..

    Please use naming convention, when naming the userform objects, refer the attached screenshot. Which helps when you coding.
    userform_naming.PNG
    Attached Files Attached Files

+ 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. [SOLVED] Save data from UserForm into Sheet (how to resolve runtime errors in UserForm tutorial)
    By eighty6 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-14-2015, 07:41 PM
  2. [SOLVED] Save userform data into multiple tabs on same worksheet
    By dwheggen1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2015, 07:14 AM
  3. [SOLVED] VGA to put userform into worksheet, and save sheet as a copy.
    By CtrlAltDelete in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-17-2014, 12:59 PM
  4. UserForm Confirmation Box Before Save Date To WorkSheet
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2013, 10:41 PM
  5. [SOLVED] How to save worksheet with userform control button
    By fremarco in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-04-2012, 09:27 PM
  6. [SOLVED] Button on Userform to Save worksheet?
    By 10121730 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-15-2012, 11:44 AM
  7. save data to worksheet dependent on userform dropdown
    By mhill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2009, 03:57 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