Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Date and Time Picker Control - Calendar in upper left corner

Posted on 2014-01-08
4
Medium Priority
?
4,270 Views
Last Modified: 2014-02-20
I have a user running Excel 2010 SP2 32bit and he wants to add a calendar control to his spreadsheet using Microsoft Date and Time Picker Control. When he adds it and gets out of Design Mode, the calendar goes to the upper left corner outside of the spreadsheet itself. It does not stay in its intended location.

I uninstalled/reinstalled Office and downloaded/installed latest version of MSCOMCT2.OCX. OS is Win7-64SP1.

Thanks in advance!
0
Comment
Question by:brainsurf1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:als315
ID: 39765888
I think it is bug in Excel. On any reason Top value is not used until you change it manually. Open properties of Picker and change value in Top parameter:
TopNow Picker will be on proper place
0
 

Author Comment

by:brainsurf1
ID: 39765993
Hi als315,

There was a value for Top; I did change it and the calendar moved and stayed in place and did not go to the upper left corner. However, when the document was saved and later reopened, the calendar reverted back to the upper left corner.
0
 
LVL 40

Accepted Solution

by:
als315 earned 800 total points
ID: 39767313
Yes, it is correct and seems correction of this bug is not planned by MS. I see only one solution (you can, of course, use form with calendar instead of ActiveX):
add sub to your worksheet:
Private Sub Worksheet_Activate()
ActiveSheet.DTPicker21.Top = 40       ' \Correct name of DTPicker and position
End Sub
0
 

Author Comment

by:brainsurf1
ID: 39789069
(Waiting for my user to try this suggestion--will post an update when he applies this fix)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question