ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   create tabs and add hyperlink to each tab (https://www.excelbanter.com/excel-programming/385217-create-tabs-add-hyperlink-each-tab.html)

May

create tabs and add hyperlink to each tab
 
hi there,

wonder if you could help with the following:

If you could create a macro which can create tabs according to the number of
days of each month, eg 28 tabs for Feb 07, then name it according to the
date, eg 01.02.07, and at the same time create one tab acting as an abstract
which contains hyperlink to each tab.

Sounds really a bit complicated. Your assistance will be much appreciated.

Gary''s Student

create tabs and add hyperlink to each tab
 
Here is the first part:


Sub demo()
For i = 1 To 31
v = Format(DateValue("3/" & i & "/2007"), "mm.dd.yyyy")
Set sht = Sheets.Add
sht.Name = v
Next
End Sub



--
Gary''s Student
gsnu200710


"May" wrote:

hi there,

wonder if you could help with the following:

If you could create a macro which can create tabs according to the number of
days of each month, eg 28 tabs for Feb 07, then name it according to the
date, eg 01.02.07, and at the same time create one tab acting as an abstract
which contains hyperlink to each tab.

Sounds really a bit complicated. Your assistance will be much appreciated.



All times are GMT +1. The time now is 08:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com