Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 271
Default Go to a particular Cell -Date

HI , I have a sheet which has a range of dates viz from the 1st of July 08
till 28th Feb 09. How do I create a macro or what formula do I use to be able
to go to the cell which has todays/ the current date on the sheet? ie if
today is the 30th of July 08 , How do I create a formula which will allow me
to go to todays date ?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default Go to a particular Cell -Date

Hi

Normally, for purposes of finding something in a sheet, one would program
the Find method. Yet, to find dates, this is not very easy since the
formatting seems to play a role.

Hence, the easiest solution is to write a very small loop through the dates
and see whether it's today or not.

To prevent using a loop (which is a good thing), put a MATCH function in a
cell (aside). Then either use the HYPERLINK function, or write a very small
macro (a onelner will suffice, simply use Application.GoTo).



--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Shawn" wrote:

HI , I have a sheet which has a range of dates viz from the 1st of July 08
till 28th Feb 09. How do I create a macro or what formula do I use to be able
to go to the cell which has todays/ the current date on the sheet? ie if
today is the 30th of July 08 , How do I create a formula which will allow me
to go to todays date ?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 make 1 date cell automatically change another date cell Scotty Excel Worksheet Functions 4 April 22nd 10 09:01 AM
date in Cell to change colors if the date is beyond today's date Pete Elbert Excel Discussion (Misc queries) 2 June 6th 09 06:31 AM
Automatically update a cell with a date based on anther cells date GPR GUY Excel Discussion (Misc queries) 2 November 3rd 08 03:57 PM
comparing abr. Date Text cell to a date formatted cell David B Excel Programming 0 April 24th 08 05:46 PM
Cell Blink or message if cells date = today date al007 Excel Programming 4 December 29th 05 01:39 PM


All times are GMT +1. The time now is 08:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"