PC Review


Reply
Thread Tools Rate Thread

DTPicker Object Missing?

 
 
Edward
Guest
Posts: n/a
 
      23rd Dec 2005
There is a file that hasn't been used for some time, but suddenly need
to work on it again, however, the vba (form) can be executed and viewd
in my computer only (but not in my colleagues computer). Forgot how to
do this.

Whenever in other computer to open this file, There are a dialog box
"Microsoft Forms" apepars and say "Unable to load the object, because
it's not exist".

What I did in the file is used two DTPicker (Date Time Picker) Object
to let user to input a date in the VBA forms. but when i opened in
other computer, even that two input boxes are disappeared when i open
that form again. (same message appears.)

I think I have missed importing an actiex object something but forget
what i have missed, can anybody advise me steps to recover this?

Thanks.

 
Reply With Quote
 
 
 
 
Leith Ross
Guest
Posts: n/a
 
      26th Dec 2005

Hello Edward ,

The original control is an older version. The newer machines wil
require a current object reference.

1. Bring up the VB editor from Excel using *ALT + F11*
2. Select the UserForm the control(s) will be placed on
3. Display the Controls dialog using *ALT + V* then press *X*
4. Display the Additional Controls dialog using *ALT + T* then pres
*A*
5. Scroll through the list until you find *Microsoft Date and Tim
Picker Control*
6. Select the *highest version number* by left clicking the box on th
left
7. Press *Enter* to exit
8. Save the control in the project by using *CTRL + S*

You should make a copy of this file from one of the newer systems an
keep on file. You can then distribute these without redoing thi
procedure each time.

Happy Holidays,
Leith Ros

--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846
View this thread: http://www.excelforum.com/showthread.php?threadid=49572

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      26th Dec 2005
I think that the MS version of the calendar control comes with Access. If the
other users don't have Access, maybe you could use the calendar control that Ron
de Bruin suggests at:


Edward wrote:
>
> There is a file that hasn't been used for some time, but suddenly need
> to work on it again, however, the vba (form) can be executed and viewd
> in my computer only (but not in my colleagues computer). Forgot how to
> do this.
>
> Whenever in other computer to open this file, There are a dialog box
> "Microsoft Forms" apepars and say "Unable to load the object, because
> it's not exist".
>
> What I did in the file is used two DTPicker (Date Time Picker) Object
> to let user to input a date in the VBA forms. but when i opened in
> other computer, even that two input boxes are disappeared when i open
> that form again. (same message appears.)
>
> I think I have missed importing an actiex object something but forget
> what i have missed, can anybody advise me steps to recover this?
>
> Thanks.


--

Dave Peterson
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      26th Dec 2005
(oops. I hit the wrong key.)

I think that the MS version of the calendar control comes with Access. If the
other users don't have Access, maybe you could use the calendar control that Ron
de Bruin suggests at:

http://www.rondebruin.nl/calendar.htm

Edward wrote:
>
> There is a file that hasn't been used for some time, but suddenly need
> to work on it again, however, the vba (form) can be executed and viewd
> in my computer only (but not in my colleagues computer). Forgot how to
> do this.
>
> Whenever in other computer to open this file, There are a dialog box
> "Microsoft Forms" apepars and say "Unable to load the object, because
> it's not exist".
>
> What I did in the file is used two DTPicker (Date Time Picker) Object
> to let user to input a date in the VBA forms. but when i opened in
> other computer, even that two input boxes are disappeared when i open
> that form again. (same message appears.)
>
> I think I have missed importing an actiex object something but forget
> what i have missed, can anybody advise me steps to recover this?
>
> Thanks.


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DTPicker controls missing from userform Ryan H Microsoft Excel Programming 4 21st May 2010 02:42 AM
object types completely missing in MSWord Insert Object list box =?Utf-8?B?bm9ybWFsbHkgcHJldHR5IHBjIHNhdnZ5Li4u?= Microsoft Word Document Management 3 6th Nov 2006 03:43 PM
Dtpicker problem, any ideas why I can't set my dtpicker control to now() Patrick Gibbons Microsoft Access Forms 2 10th Feb 2004 08:34 PM
DTPicker Steve Microsoft Access Form Coding 1 23rd Dec 2003 04:46 PM
dtPicker Tony Microsoft Outlook Form Programming 0 12th Dec 2003 07:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:38 PM.