+ Reply to Thread
Results 1 to 2 of 2

Thread: USERFORM Question

  1. #1
    Registered User
    Join Date
    06-09-2011
    Location
    U.S
    MS-Off Ver
    Excel 2003
    Posts
    3

    USERFORM Question

    Good Morning to all
    I am new to using and creating a userform with excel 2007. I understand the basics on creating and using UserForms. The question I have is when it comes to exporting the data when someone pushes the "ok" button. The standard is that once the "ok" button is pressed then the data is exported to a sheet on the first empty row. I created a Userform with several inputs and instead of exporting the data to an empty row I would like to export it to a specified cell.
    For Example
    First Input is Date:
    I would like to export that Data to Cell B2 in sheet1.
    Second Input is Job Number.
    I would like to export that Data to Cell H5 in sheet1.




    I am sure that it is something simple, but I hit that brickwall and would like some input.
    Any help would be appreciated.

    Thanks

  2. #2
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,639

    Re: USERFORM Question

    You mean
    With Sheet1
    .Range("b2").Value=Me.TextBox1.Value
    'etc
    End With
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0