+ Reply to Thread
Results 1 to 6 of 6

Suggestions needed on filling in a form automatically

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    102

    Suggestions needed on filling in a form automatically

    I have two forms when the user clicks the button I need to pull two cell values and put them into the form. The cell values are always in the same column but not in the same row. Anyone have some advice and reference for how I can accomplish this in Excel 2010?

    My idea was two make two buttons at the top. Have them highlight the cell values they wanna copy since there next to each other and just copy active cell and paste into the form on worksheet. I can have form cells cleared on each open? Does this seem the best method???

    Thanks.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Suggestions needed on filling in a form automatically

    Hi Carden,

    If you know the rows they'll be in then you can just copy the defined range and paste that:


    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Suggestions needed on filling in a form automatically

    Hi,

    What determines which of the two cells should be used?
    Assuming there is some rule then I can't see why you can't encapsulate the rule in an Excel formula which you can place in the appropriate cell in the form.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    06-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Suggestions needed on filling in a form automatically

    There are about 200 rows each row is a specific location and number. There both side by side one is column b the other column c. It just has to do if someone comes in for a form instead of copying the numbers and location since some locations are lengthy. I just wanted to make two buttons. One to each type of form then it would fill location and the number on the form whichever is selected. I am not sure how to make them select the row. I was thinking just highlight the one you want and then click the form and I can copy the highlighted cells and use them in my code.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Suggestions needed on filling in a form automatically

    Hi,

    I think you'd better upload the workbook along with some notes which describe what you want to happen, and show the result. On the face of it I can't see why you can't use a formula, but we need to see the request in context.

  6. #6
    Forum Contributor
    Join Date
    06-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Suggestions needed on filling in a form automatically

    I made an example exactly like the spreadsheet I am working with.

    I made two buttons for each form. I was thinking now maybe prompt them for the number in Column A and then put Location Code and Custodian # into the Form they open. They want to print the form then clear the form and go back to the spreadsheet.

    Hope this helps and thanks a ton for the assistance.
    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)

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