> Thankyou for your reply.
>
[quoted text clipped - 60 lines]
> >> End If
> >> End Sub
Thankyou so much for your replies!! I really appreciate the time this is
taking for you to help me with this problem.
I had tried to insert the Calendar by being in design mode. In fact, it
automatically turns on the design mode when I try to insert such an object.
When I try to insert the "CalControl Control" (which I notice you call
"Calendar 12 control" - is that a problem? Maybe I'm trying to insert the
wrong thing??), the formula bar says
=EMBED("CALEDARUI.CalControlsCtrl.1","), but the error message appears.
I did try to insert other objects from the More Controls section and had no
problems with some, whereas I do have the same error message with others. I
don't know if that is related to my Calendar problem but I don't know what
most of those objects in that rather long list are, and maybe they shouldn't
be ones you can insert???
The Calendar control really confuses me as, where does it go when you do
insert it? I presume it's hidden within the sheet somehow and you need to
call it up as I have in the VB code. How do you know how many such Calendar
Objects have been inserted into a sheet. Can the ones you don't use be
deleted somehow?
When I open the old xls version of the file within Version 2007, I can now
access the Calendar and its properties, etc., as I forgot that the sheet was
protected. However, unprotecting the sheet in the Vs2007 file doesn't help.
Rob
> RobN,
> First - NO! don't overwrite either copy of your mscal.ocx control on
[quoted text clipped - 125 lines]
>> >> End If
>> >> End Sub
JLatham - 15 May 2007 09:25 GMT
You've already covered on area that I was going to ask about: that of either
the workbook or worksheet being protected (you also checked the workbook, I
presume).
Now, we come up with a real difference between the way things seem to be
working in your copy of Excel 2007 and mine. When I go to [Developer] tab
and Insert controls, in the ActiveX controls I have listed "Calendar Control
12.0" and the formula I'm shown is =EMBED("MSCAL.Calendar.7","") and once I
'draw' it on the sheet, it is fully visible and ready for me to adjust it's
properties by right-clicking on it and choosing Properties.
So far, no takers in my request for advice/assistance on this elsewhere, so
I'm kind of left with the thought that any others that have read it are kind
of staring blankly and scratching their heads also at this point in time.
What are the chances of you attaching this misbehaving file to an email and
sending it to me at (remove spaces) HelpFrom @ jlatham site.com If nothing
else, perhaps I can get a calendar control into it here and send it back and
see how it looks or acts on your system if I can. If it's a very large file,
perhaps even .zip it up and attach it? I could look at it this evening if
you can.
> Thankyou so much for your replies!! I really appreciate the time this is
> taking for you to help me with this problem.
[quoted text clipped - 153 lines]
> >> >> End If
> >> >> End Sub
RobN - 17 May 2007 03:44 GMT
Hi J,
I re-looked at your previous advice and because you said your Embeded name
for the Calendar control was different to mine I wondered if I had some
problems with Excel itself. I should have done this straight away, but
because I'd only recently installed Office 2007 at work, it didn't occur to
me. I chose to "Repair" the installation and the Calendar control now works
fine.
I really appreciate your help which certainly led me to a solution for my
problems and trust I haven't been an unnecessary burden or you feel that
it's been a time wasting effort!
Rob
> You've already covered on area that I was going to ask about: that of
> either
[quoted text clipped - 228 lines]
>> >> >> End If
>> >> >> End Sub