+ Reply to Thread
Results 1 to 6 of 6

User Input value to the cell where the column and row intersects

  1. #1
    Registered User
    Join Date
    04-05-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    User Input value to the cell where the column and row intersects

    Hi,

    I have a table where Box #'s are in Row 2 and listed in each column and Dates are in each row in column A. I use the find function to find two cells based on the user input of box # and date. Now that I have these two cell, I want to find where the row and column intersects and allow the user to enter a number there using an input box. Below is what I have so far. I think I need to somehow index the cells, but am not sure how. I've attached my Excel file below if someone could take a look at it and help me? Thank you so much I am relatively new to VBA and would appreciate if someone can point out my error and guide me through the process. Thanks

    Please Login or Register  to view this content.
    FindDateBoxMacro.xlsmFindDateBoxMacro.xlsm

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: User Input value to the cell where the column and row intersects

    Try

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    04-05-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: User Input value to the cell where the column and row intersects

    Thank you mikerickson. It doesn't seem to work. I receive a Compile Error: Expected Function or variable when I try to run it. When I take the ".Activate" out of my Find lines I don't receive the compile error, but the code still doesn't perform what I need it to do. Any other ideas of what could be wrong. Here is my code:

    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,600

    Re: User Input value to the cell where the column and row intersects

    Please Login or Register  to view this content.
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    04-05-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: User Input value to the cell where the column and row intersects

    Thank you so much ProtonLeah. Works Great! I have another question. I need this to run continuously because the user will be making multiple entries into the worksheet. Is there a way that I can continue to run this macro repeatedly until the user clicks "End" in some type of message box? Thanks again!

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,600

    Re: User Input value to the cell where the column and row intersects

    Please Login or Register  to view this content.

+ 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] User input to go to next blank cell in column
    By MileHiMark in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2013, 09:08 PM
  2. Using text box input to lookup number and replace based on user input into new column
    By harl3y412 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2011, 03:15 PM
  3. Limit user input to make column add to 100%
    By smalls in forum Excel General
    Replies: 5
    Last Post: 06-09-2011, 02:22 PM
  4. Ignoring next column from user input form
    By up_and_under in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2010, 01:38 AM
  5. Have user input converted to uppercase in same cell as input?
    By Shannonn in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-19-2006, 10:25 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