LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default scroll down today () with weekdays only

Two minor modifications:

Private Sub Workbook_Open()
Dim c
Worksheets(1).Activate
With Worksheets(1).Range("a1:a500")
Set c = .Find(Date, LookIn:=xlValues)
If Not c Is Nothing Then
Range(c.Address).Select
End If
End With
End Sub

would have worked in the last example if you were on the first sheet in the
workbook and that was where the dates were.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Stephen Christian" wrote:

I would like to use the today function as a starting point and scrolling down
list the previous 70 weekdays, (25-7-2009 format), in a way that every time
the workbook is opened it is automatically done.

Many thanks

Stephen Christian

 
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
adding scroll bar to scroll on cell's content? Rotem Charts and Charting in Excel 0 November 16th 06 12:36 PM
Limit TODAY() to weekdays only CharlieS Excel Discussion (Misc queries) 4 October 23rd 06 11:50 PM
Scroll horizontaly with mouse, create same system used to scroll . frederic New Users to Excel 5 October 9th 05 08:15 PM
=IF(OR(TODAY()G9),"Pass","Overdue") Why doe it not wo. Fkor Excel Discussion (Misc queries) 3 March 10th 05 08:29 AM
Weekdays Jeff Excel Discussion (Misc queries) 7 February 15th 05 12:18 AM


All times are GMT +1. The time now is 05:39 AM.

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

About Us

"It's about Microsoft Excel"