+ Reply to Thread
Results 1 to 7 of 7

VBA Userform (for Entering Data)

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    4

    VBA Userform (for Entering Data)

    Hello Everybody,
    I am a beginner in VBA programming and I have to make a Userform for entering data in the specific places(in a table) in the worksheet. But when I enter a number, it changes all the cells to that number. I can't find my error. I would be appreciated if someone could help me.
    I attached my file.
    Thanks in advance


    lhttp://www.mrexcel.com/forum/excel-q...ring-data.html
    Last edited by Faraei; 03-22-2014 at 11:02 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Userform (for Entering Data)

    Are Lines(1) and Lines(2) both meant to take their value from Measurement?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    03-12-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: VBA Userform (for Entering Data)

    yes, I want to put textbox1 values in the different places in the worksheet.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Userform (for Entering Data)

    Sorry I don't quite follow.

    This is where you put values on the worksheet.
    Please Login or Register  to view this content.
    That will pu the value from Lines(2) in the column to the right of where you put the value from Lines(1).

    Is that not what you want to happen?

  5. #5
    Registered User
    Join Date
    03-12-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: VBA Userform (for Entering Data)

    yes, I want value from Lines(1) be in the cell "B6" and the value for Lines(2) be in the cell "C6".

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Userform (for Entering Data)

    What's Nutrient?

    It's not a variable, it's not the name of a control on the form.

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA Userform (for Entering Data)

    http://www.mrexcel.com/forum/excel-q...ring-data.html

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  8. #8
    Registered User
    Join Date
    03-12-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: VBA Userform (for Entering Data)

    Sorry, It is my first time that I post something in a forum. I didn't know rules.

+ 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] Refresh UserForm after entering data in another userform
    By s2jrchoi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-30-2013, 10:34 AM
  2. Need help entering in data from userform
    By adamjohnson182 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2013, 08:15 PM
  3. [SOLVED] UserForm not entering data in to spreadsheet
    By LoneWolf3574 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-29-2012, 07:58 AM
  4. Entering data from a Userform into a row
    By dougwild in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-18-2012, 10:52 AM

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