Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Norman Jones wrote: Hi Morris, Try something like: '============= Private Sub Workbook_Open() Dim SH As Worksheet Dim myCB As OLEObject Dim myCal As OLEObject Set SH = Me.Sheets("Sheet2") '<<==== CHANGE Set myCB = SH.OLEObjects("CommandButton1") Set myCal = SH.OLEObjects("Calendar1") myCB.Object.Caption = "Import the list of matches from " _ & myCal.Object.Value End Sub '<<============= --- Regards, Norman Thanks Norman, it is working now :) Muhameed: funny guess :) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calendar Object in Excel | Excel Discussion (Misc queries) | |||
Object Calendar 11.0 | Excel Discussion (Misc queries) | |||
use of calendar object? | Excel Discussion (Misc queries) | |||
Running a CommandButton in Excel I get this error | Excel Programming | |||
Object Calendar 8.0 | Excel Programming |