+ Reply to Thread
Results 1 to 11 of 11

Find a certain cell that contains today's date and select the cell and its sheet.

  1. #1
    Registered User
    Join Date
    04-12-2014
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    21

    Find a certain cell that contains today's date and select the cell and its sheet.

    I have made the macro that does as ,soon as i open the file, select today's date but only if date is in sheet5... sheet 5 is may so it works. Can someone help me doing the same job for every sheet in the file


    Please Login or Register  to view this content.
    Last edited by tyeinse; 05-08-2014 at 08:28 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    Did you tried to replace your sheet name with ActiveSheet?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    04-12-2014
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    No unfortunately it is not working at all with activesheet

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    Can you pls upload a small sample workbook?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  6. #6
    Registered User
    Join Date
    04-12-2014
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    sample.xlsx


    That is a sample file of what i want to do

  7. #7
    Registered User
    Join Date
    04-12-2014
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    Now i want when i open the file the sheet contains the date we have today to be open and the current today date year etc to be selected

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    This code works in the Active worksheet

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    04-12-2014
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    Yeah it does, but my code at the start of the post works also for active sheet. My problem is i want when i open excel file to go to todays date and sheet even if i saved the file in another sheet

  10. #10
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    Alternative:
    Please Login or Register  to view this content.
    Cheers, berlan

  11. #11
    Registered User
    Join Date
    04-12-2014
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Find a certain cell that contains today's date and select the cell and its sheet.

    thnx for helping guys i think i ve found the solution again below is the code for all sheets :D
    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. find date and select cell
    By sselemoh2012 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2013, 06:44 AM
  2. [SOLVED] Macros to find matching text on other sheet and to select an offset cell
    By lottidotti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2012, 05:59 AM
  3. Select Cell Based on Today's Date?
    By EinGutesBier in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2008, 03:57 PM
  4. Select cell = today()
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-14-2006, 09:30 PM
  5. find cell with today's date
    By James D in forum Excel General
    Replies: 2
    Last Post: 01-16-2006, 06:10 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