Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have included a calendar control on a spreadsheet and for an unknown
reason the numbers are so small they are completely illegible. Does anyone know how to correct this? The code used is.... Private Sub Calendar1_Click() Sheet4.Unprotect Range("G1").Value = CDbl(Calendar1.Value) ActiveCell.NumberFormat = "D/M/YY" Range("K1") = 1 ActiveCell.Select If Range("K1") = 1 Then Calendar1.Visible = False Range("G2").Select End If Sheet1.Protect End Sub Private Sub Worksheet_SelectionChange(ByVal Target As Range) Sheet4.Unprotect If Application.Intersect(Range("G1"), Target) Is Nothing Then GoTo ExitSub If Target.Cells.Count 1 Then ExitSub: If Calendar1.Visible Then Calendar1.Visible = False Sheet4.Protect Exit Sub End If Range("K1") = 0 Calendar1.Visible = True 'select Today's date in the Calendar Calendar1.Value = Date Sheet1.Protect End Sub Rob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calendar - change of a size of this object | Excel Worksheet Functions | |||
How do you control the font size of the data validation field? | Excel Discussion (Misc queries) | |||
Font size in data validation drop down lists | Excel Discussion (Misc queries) | |||
font size changes w/ control focus | Excel Worksheet Functions | |||
How to change the default font and size of "comments"? | Excel Discussion (Misc queries) |