+ Reply to Thread
Results 1 to 4 of 4

Finding a Date in a sentence !

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    33

    Finding a Date in a sentence !

    Hi All,

    I have a situation were in I need to Find dates in a sentence. For example: the format looks like this: You have 3 cells:

    Day 1
    Month 1
    Year 2012

    and a cell which has sentences which contains dates that are in this format - 1 January 2012

    There are instance where in day cell or month cell can be empty but year is available. So the code should find either of the information in the sentence

    Can anyone help me in providing a VBA code for it?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Finding a Date in a sentence !

    Hi try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    08-06-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Finding a Date in a sentence !

    Hi Tom,

    Thanks for the such a swift reply ! but the sentence will run into a paragraph I mean more than 10 lines...here the formula needs me to enter the first line of the sentence I guess?

  4. #4
    Registered User
    Join Date
    08-06-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Finding a Date in a sentence !

    Hey Jindon........Can you help on this query?

+ 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