Professional Documents
Culture Documents
Calender Module
Calender Module
Calender Module
July 2020
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Monthly 1 2 3 4
Inspection of Paint Stored PPE's
m/c on 26 Storing Material in Quantity
June fabrication
yard
5 6 7 8 9 10 11
Scrap PPE's Paint Stored PPE's
Cleaning Quantity Storing Material in Quantity
fabrication
yard
12 13 14 15 16 17 18
Scrap PPE's Paint Stored PPE's
Cleaning Quantity Storing Material in Quantity
fabrication
yard
19 20 21 22 23 24 25
Scrap PPE's Paint Stored PPE's
Cleaning Quantity Storing Material in Quantity
fabrication
yard
26 27 28 29 30 31
Scrap PPE's Paint Stored
Cleaning Quantity Storing Material in
fabrication
yard
Sub CalendarMaker()
' Create Entry cells, format them centered, wrap text, and border
' around days.
For x = 0 To 5
Range("A4").Offset(x * 2, 0).EntireRow.Insert
With Range("A4:G4").Offset(x * 2, 0)
.RowHeight = 65
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlTop
.WrapText = True
.Font.Size = 10
.Font.Bold = False
' Unlock these cells to be able to enter text later after
' sheet is protected.
.Locked = False
End With
' Put border around the block of dates.
With Range("A3").Offset(x * 2, 0).Resize(2, _
7).Borders(xlLeft)
.Weight = xlThick
.ColorIndex = xlAutomatic
End With