Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2023, 07:57 AM
p45cal's Avatar
p45cal p45cal is offline Create Tabs Days Of Month w/Copy Paste Template and Open To Current Date Windows 10 Create Tabs Days Of Month w/Copy Paste Template and Open To Current Date Office 2019
Expert
 
Join Date: Apr 2014
Posts: 963
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default


try:
Code:
Private Sub Workbook_Open()
Dim MyVal, sh
MyVal = Format(Date, "ddd mmm dd")
For Each sh In ThisWorkbook.Worksheets
  If sh.Name = MyVal Then sh.Select
Next
End Sub
or easier:
Code:
Private Sub Workbook_Open()
On Error Resume Next
Sheets(Format(Date, "ddd mmm dd")).Select
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Field Code to Display Specific Date of Current or Next Month lewis255 Word 1 03-07-2023 06:13 PM
How to set date picker pop-up calendar to current month? lafemmePJ Word 4 02-10-2023 08:26 AM
If date is Current Month 1 or within 30 days Sje Excel 3 09-30-2019 10:40 PM
Create Tabs Days Of Month w/Copy Paste Template and Open To Current Date Date Field to add 10 Days to Current Date Erbwon Word 6 11-12-2012 06:17 PM
Create Multiple Tabs from Template TeePee Excel 0 04-30-2009 11:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft