LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Calendar conrtol issue

Presumed (wrongly) that you would replace CalendarControl with the real name
of that control. I am sure you have fixed it by now.

RBS


"Patrick Simonds" wrote in message
...
This is my code now with the inclusion of CalendarControl.Value = Date

But now instead of bringing up the EngravingForm I get the following

error:

Run Tim error '424'
Object Required

When I click on the debug button the EngravingForm.Show is highlighted. If

I
remove the CalendarControl.Value = Date everything works (except for my
original problem of course)



Private Sub UserForm_Initialize()

With EngravingForm

.DateTextBox2.Text = Format(Date, "dddd dd-mmm-yy")

End With

Set rng = Cells(ActiveCell.Row, 1)
TextBox5.Text = rng(1, 1).Text

CalendarControl.Value = Date

End Sub

"RB Smissaert" wrote in message
...
How about:

Private Sub UserForm_Activate()
CalendarControl.Value = Date
End Sub

or

Private Sub UserForm_Initialize()
CalendarControl.Value = Date
End Sub


RBS


"Patrick Simonds" wrote in message
...
I am using Calendar Control 10 on a UserForm, but can not figure out

how
to
have the current date come up on the calendar when it opens. I have

tried
setting ValueIsNull to both False and True but I still get the last

date
that was selected by the user.






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Tool issue Steen Excel Discussion (Misc queries) 0 August 12th 08 07:08 AM
find free sharware to include calendar pop or use calendar in cell ednc Excel Discussion (Misc queries) 2 April 14th 08 05:05 PM
Date issue to automate calendar Babs in Ohio Excel Worksheet Functions 23 July 17th 07 09:44 PM
Calendar issue cjtj4700 Excel Discussion (Misc queries) 2 January 6th 06 08:21 PM
import calendar items from excel into outlook calendar jsewaiseh Excel Discussion (Misc queries) 0 September 2nd 05 03:53 PM


All times are GMT +1. The time now is 10:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"