+ Reply to Thread
Results 1 to 8 of 8

Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

  1. #1
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    Hey everyone,

    I am trying to get the VBA code to input data from my UserForm to last row of my spreadsheet for each column. A simple task yet I am struggling.

    I have done my due diligence searching for answers here, on Youtube, on websites but have yet to find something that works, but as easy as this is the info I have found has proved useless so I am coming to you guys since you are a fabulous bunch and have helped me a lot in the past.

    I have uploaded my Sample Spreadsheet, please refer to this if you are so kind to help me. I already built the UserForm, I just need help with the VBA code behind placing the data in the last row with data. It is really self-explanatory if you open up my Spreadsheet and see the user form. And if it can connect to that Button I put that would be all I need.

    I have other pages where I will do similar UserForms, once I see how it is done by one of you I will learn from it and apply it to other sheets, it's just this part of getting off the ground I am struggling with.

    Thanks Excelforum
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 06-13-2017 at 02:14 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    kind of confused with those names in your code, GivenName, Tag Number, ***, what adjustments will I need to make

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    Quote Originally Posted by lougs7 View Post
    kind of confused with those names in your code, GivenName, Tag Number, ***, what adjustments will I need to make
    I don't know what that means.

    All you have to do is copy the code and paste it in your userform code module. If you had tried that already, try it again. I had a typo that I fixed.

  5. #5
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    Quote Originally Posted by lougs7 View Post
    kind of confused with those names in your code, GivenName, Tag Number, ***, what adjustments will I need to make
    The code posted by AlphaFrog should work as is.

    Those names are the names you created for each textbox, combobox, etc in your userform.

  6. #6
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    Thank you it works. Sorry those random names that I was confused about came forma sample spreadsheet I downloaded so I didn't know wha thtey were.

    But code works. You are fabolous thank you! Creds for you

  7. #7
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    Hey Alpha Frog, it works and all. But how do I connect the UserForm to a Button.

    I would need a one line macro to call the UserForm, how would you do this in 2 secs. Asking you so I don't have to search for 20-30mins.

    Appreciate it man!

  8. #8
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: Inputing data to Spreadsheet from Userform [Easy Question For Most] pls help me !

    got it :D :D :D you guys are awesome

+ 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. Inputing into Cell creates Command button (or alternative) on userform
    By moop77 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-19-2016, 11:04 AM
  2. [SOLVED] Question Only: Can You Reference a userform combobox in a spreadsheet formula?
    By TheScott in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-24-2015, 02:25 PM
  3. [SOLVED] Use userform in creating spreadsheet: general question
    By DavidRoger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2013, 09:52 PM
  4. [SOLVED] Question regarding updating data on one spreadsheet from data on another spreadsheet
    By ianpwilliams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-17-2013, 02:50 AM
  5. Easy Question - Macro to add csv file below existing data
    By foxy_420 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2012, 01:52 PM
  6. [SOLVED] inputing data using vba
    By [email protected] in forum Excel General
    Replies: 0
    Last Post: 01-01-2006, 09:00 PM
  7. new user with easy question? not easy for me
    By speakeztruth in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 06-03-2005, 05: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