Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "Can't move focus..."


I have a program that uses the *Microsoft Date and Time Picker* to
select a date. When I put my macro on another users computer I get an
error message that says: "-Can't move focus to the control because it
is invisible, not enabled, or of a type that does not acept the
focus-."

If I go to look at the userform, it does not have the drop down
calendars (DT Picker) that I put on it.
It works fine from my computer, but I can't find what's different about
the other computer not to accept the DT Picker.

Any ideas??

DejaVu


--
DejaVu
------------------------------------------------------------------------
DejaVu's Profile: http://www.excelforum.com/member.php...o&userid=22629
View this thread: http://www.excelforum.com/showthread...hreadid=472172

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default "Can't move focus..."

The problematic computer probably doesn't have the Microsoft Date and Time
Picker installed or your reference to it is invalid.

On that computer, after the error, go to Tools=References in the VBE and
see if you don't see a reference marked as MISSING - specifically the
reference to the Microsoft Date and Time Picker.

--
Regards,
Tom Ogilvy

"DejaVu" wrote in
message ...

I have a program that uses the *Microsoft Date and Time Picker* to
select a date. When I put my macro on another users computer I get an
error message that says: "-Can't move focus to the control because it
is invisible, not enabled, or of a type that does not acept the
focus-."

If I go to look at the userform, it does not have the drop down
calendars (DT Picker) that I put on it.
It works fine from my computer, but I can't find what's different about
the other computer not to accept the DT Picker.

Any ideas??

DejaVu


--
DejaVu
------------------------------------------------------------------------
DejaVu's Profile:

http://www.excelforum.com/member.php...o&userid=22629
View this thread: http://www.excelforum.com/showthread...hreadid=472172



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "Can't move focus..."


Thanks for the reply Tom - But I'm still not having any luck.

Here is what I tried. I opened up the form from my computer (where th
DTPicker works) and opened up Tools Additional Controls.
In Additional Controls I found *Microsoft Date and Time Picker Contro
6.0* and noticed it comes from -C:\\WINNT\system32\mscomct2.ocx
(Windows 2000).
I copied this ActiveX control to the other users computer, but I stil
can not add the DTPicker control.

Any other ideas?

DejaV

--
DejaV
-----------------------------------------------------------------------
DejaVu's Profile: http://www.excelforum.com/member.php...fo&userid=2262
View this thread: http://www.excelforum.com/showthread.php?threadid=47217

Reply
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How do I move a document from "recent items" to "documents" John Gerke in Central Oregon New Users to Excel 1 March 2nd 08 08:31 AM
Excel "Move or Copy" and "Delete" sheet functions dsiama Excel Worksheet Functions 1 December 28th 07 01:57 PM
Replace dialog should put focus on "Find What" not "Replace With" Michael Williams Excel Discussion (Misc queries) 0 May 24th 06 12:45 PM
Validate Data in VBA "How to get lost focus cell address" HotRod Excel Programming 2 February 1st 05 08:02 PM


All times are GMT +1. The time now is 11:20 PM.

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

About Us

"It's about Microsoft Excel"