+ Reply to Thread
Results 1 to 5 of 5

Should I use an IF statement?

  1. #1
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35

    Should I use an IF statement?

    I have a userform where the user can type in info, choose a date in the combobox, and press OK. What i need is a code for the program to automatically find the date in my spreadsheet and put in the information in that row.

    What i have now is this: the code finds the next empty row and enters the info.

    Please Login or Register  to view this content.
    But I really need a way for it to match the date from the combobox to the same date on my spreadsheet and select that cell on the spreadsheet! Will I be able to use an IF statement? If so, can u provide an example? Thank you.
    Last edited by okriskao; 10-30-2008 at 09:33 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284
    As I told you on MrExcel, lookup Find in help.

  3. #3
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35
    Ok Thanks, I'm going to do that now, the reason I posted on 2 forums is cuz I posted a question before on exceltip and nobody answer, i figured the chances that someone will answer will be higher if i post my question on more forums.. i hope you are not mad! Thanks for your help!

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by okriskao View Post
    Ok Thanks, I'm going to do that now, the reason I posted on 2 forums is cuz I posted a question before on exceltip and nobody answer, i figured the chances that someone will answer will be higher if i post my question on more forums.. i hope you are not mad! Thanks for your help!
    This is what annoys members who answer your posts on one Forum then see it on another. Read the Forum Rules, cross posting is explained there.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35
    going to do that now too! sorry for causing trouble!

+ 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