Date selection will not print properly when using Microsoft Date and Time Picker Control 6.0 in Excel 2010

I have created a field input worksheet in which the user identifies start and end dates for training sessions, using the Date and Time Picker Active X Control.  It works fine on-screen, but when the worksheets are printed, the dates that were selected
using the date picker calendar print out in an unreadable, huge font.  The large font also appears in the print preview mode.  I've tried modifying various properties in design mode, but nothing that I have tried will correct the problem. 
Any ideas?

The DTPicker seems to have some bugs in it when used on a worksheet. I have overcome the above by setting the size properties to the same size as a cell and the Linked cell property to the
cell under the DTPicker. (Even setting the Linked cell had problems with an error message referring to the Check box property to be set to true so I just set it to true and inserted the linked cell and set the checkbox property back to
false.)
Then the VBA code below that Hides the DTPicker after a date is selected and unhides the DTPicker when the linked cell with the date is selected. The code is for 2 DTPickers so you will need to edit to suit your requirements.
Caveat: If the DTPicker is visible then you can't hide it by selecting the same date again. If this occurs then it is a multi step operation. First select another date and the DTPicker will hide, then click on another cell then back on the cell with
the date to unhide the DTPicker and then select the correct date.
Hope it helps and feel free to get back to me with any questions etc.
Private Sub DTPicker1_Change()
    Me.DTPicker1.Visible = False
End Sub
Private Sub DTPicker2_Change()
    Me.DTPicker2.Visible = False
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Select Case Target.Address
        Case "$E$5"     'This is the linked cell for DTPicker1
            Me.DTPicker1.Visible = True
        Case "$E$13"    'This is the linked cell for DTPicker2
            Me.DTPicker2.Visible = True
    End Select
End Sub
Regards, OssieMac

Similar Messages

  • Microsoft Date and Time Picker Control 6.0 (SP6) errors

    One of our functioning VBA projects in Outlook 2010, running under Windows 7 Professional (64-bit), unexpectedly stopped functioning a few months ago. When running the VBA macro we started receiving the compile error message:
    "Object library invalid or contains references to object definitions that could not be found"
    PROBLEM FORM CONTROL:  The message was extremely frustrating because it gave no detailed indication of the source of the problem.  With a little research, however, we found that the
    Microsoft Date and Time Picker Control 6.0 (SP6), on a userform accessed by the macro, was generating the error.  A number of older articles, such as the one included below, indicated that we needed
    to re-register the MSCOMCT2.OCX form control, which we did successfully (as did the original author in his question link below).  Unfortunately, as the original author found, simply re-registering the form control did not resolve the problem.
    UNRESOLVED QUESTIONS:
    1. Does anyone know why this functioning control would unexpectedly cease to function?
    2. Can anyone help us restore the functionality of the 'Microsoft Date and Time Picker Control 6.0 (SP6)'?
    3. How come the form control is listed in the object library, is available in the 'Additional Controls' dialog, and can be inserted into a form, without any indication that it is broken?
    SUPPORT ENGINEER RUN-AROUND:  Another frustration is that a responding support engineer, in the prior article, keeps referring the author back to this forum, yet the question is apparently never answered back here in
    the TechNet forum (which ironically refers us back to the original article in the other forum - a game of musical chairs!).
    We suspect that the solution to this problem may be similar to resolving this issue for other similar form controls in other Office 2010 application, not just Outlook.  After several years, and a myriad questions on the internet regarding
    this exact subject, is there someone who can definitively resolve this issue with this control?
    Thank you for any help.
    LINK TO THE ORIGINAL UNANSWERED QUESTION (i.e., regarding the MSCOMCT2.OCX control and reference back to this forum):
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/ms-date-and-time-picker-contol-60-sp-6-w-excel/9b0cc596-5e13-48bc-b03e-13dbfd1c7f9d

    Hi,
    Would you like to tell me your Excel version number (Go to Account>About Excel). I tested in my version :15.0.4569.1504 and the Date and Time Picker Control 6.0 still could be used.
    Then,>> My PC is 64 bit.  I believe my version of Office is also 64 bit.<<  Office 2013 32 bit also could be installed in 64bit operation system. We could check it with Account>About Excel.
    Next, as you said >>After I exited 'Design Mode,' it started working again.  I tested it, along with my 'Clear Form' button multiple times.  It seemed to be working fine.  I closed the document and reopened it.  Enabled Macros. 
    When I tried to use it after reopen, it doesn't work again.<< 
    I recommend we recreate a new blank Excel file and insert the Date and Time Picker Control 6.0 to test.
    If it still does not work well, please try to reinstall and re-registry it. Follow the link:
    https://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar
    https://social.msdn.microsoft.com/Forums/en-US/91cf3127-70fe-4726-8a27-31b8964430c5/registering-mscomct2ocx-in-64-bit-windows-7?forum=sbappdev
    If it works well, I suppose this issue is related to macros. I recommend you post the question to MSDN forum to debug them:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Microsoft Date and Time Picker Control 6.0 - Need help!

    I am working on a form in Office 365 Excel 2013 that uses the Microsoft Date and Time Picker Control 6.0.  When I set the form up last week, this Active X control was working perfectly.  The weekend goes by...and now it's not working at all? 
    My PC is 64 bit.  I believe my version of Office is also 64 bit.  When I researched this issue online, I found lots of people who indicated that this control was missing in their development kit.  It was and has always been available in mine
    (i.e. I didn't have to load an MSCOMCT2 file).  Further, this control WAS WORKING when I created it last week.  Now it is not, even though no changes have been made to it.  I can place the control on the sheet and even set properties for it. 
    But once I click out of Design Mode, it is not functioning.  It doesn't open or respond to any clicks on it. 
    Can anyone help me identify a reason why it may have suddenly stopped working?  I don't think it is macro-related because I have a 'Clear Form' button on the same page and it works just fine.
    UPDATE:  I've noticed something else peculiar but relevant.  My office 365 just did some updates.  When updates were completed, it auto-reopened my file.  I noticed that the Date/Time Picker button looked funny (really pixelated). 
    So I hit 'Design Mode' and resized it.  After I exited 'Design Mode,' it started working again.  I tested it, along with my 'Clear Form' button multiple times.  It seemed to be working fine.  I closed the document and reopened it. 
    Enabled Macros.  When I tried to use it after reopen, it doesn't work again.  Won't respond to ANY attempts to click on it. I can click on 'Design Mode' and it sees the control, edits properties, etc.  But when you click out of 'Design Mode,'
    it's a dead button again.  I also went to someone else's desk to test this form.  Same problem.  Date/Time picker button doesn't work, even after enabling macros.  The Clear Form Button has no problems though.
    Thanks!

    Hi,
    Would you like to tell me your Excel version number (Go to Account>About Excel). I tested in my version :15.0.4569.1504 and the Date and Time Picker Control 6.0 still could be used.
    Then,>> My PC is 64 bit.  I believe my version of Office is also 64 bit.<<  Office 2013 32 bit also could be installed in 64bit operation system. We could check it with Account>About Excel.
    Next, as you said >>After I exited 'Design Mode,' it started working again.  I tested it, along with my 'Clear Form' button multiple times.  It seemed to be working fine.  I closed the document and reopened it.  Enabled Macros. 
    When I tried to use it after reopen, it doesn't work again.<< 
    I recommend we recreate a new blank Excel file and insert the Date and Time Picker Control 6.0 to test.
    If it still does not work well, please try to reinstall and re-registry it. Follow the link:
    https://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar
    https://social.msdn.microsoft.com/Forums/en-US/91cf3127-70fe-4726-8a27-31b8964430c5/registering-mscomct2ocx-in-64-bit-windows-7?forum=sbappdev
    If it works well, I suppose this issue is related to macros. I recommend you post the question to MSDN forum to debug them:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Date and Time Picker

    Dear team although I registered still can use

    Hi,
    Would you like to tell us more detailed information? Which Office version are you using? Office 2013 or other.
    According to your description, did you mean that Date and Time Picker control was missed, even you have registered it?  If yes, please see the thread below and re-download the controls to test.
    https://social.technet.microsoft.com/Forums/en-US/0d3642b9-4e97-4fb5-9f75-2d1b7477a278/missing-microsoft-date-and-time-picker?forum=officeitproprevious
    If no, please feel free let me know.
    On the other hand, if this issue occurred after installed the Microsoft Office Security Updates for December 2014, please try to see the blog:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/13/forms-controls-stop-working-after-december-2014-updates-.aspx
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • When I take a picture with my iPhone 5s and afterward turn it laterally, the picture will not turn. It used to all the time. How do I fix this?

    When I take a picture with my iPhone 5s and afterward turn it laterally, the picture will not turn. It used to all the time. How do I fix this?

    Hi there dworthen,
    It sounds like you are experiencing issues when trying to rotate your display. I would recommend taking a look at the troubleshooting steps found in the article below.
    iOS: Screen does not rotate
    http://support.apple.com/kb/TS3805
    -Griff W.

  • My ipad will has a pop-up that will not go away when I click ok, and makes it completely impossible to use the ipad. The pop-up says: iCloud Backup: This ipad has not been backed up in 6 weeks. Backups happen when this ipad is plugged in, locked, and conn

    My ipad will has a pop-up that will not go away when I click ok, and makes it completely impossible to use the ipad. The pop-up says "iCloud Backup: This ipad has not been backed up in 6 weeks. Backups happen when this ipad is plugged in, locked, and connected to Wifi." I do not know what to do.

    Same situation.  Had to pull out the Mini to research this.  The Apple logo has been on the screen about five min, oh, just went black.  Home brought it back and popup is gone.  Wonder why this happened to many folks.

  • My phone will not charge properly when i put it on charge it comes up with charging is not suppoted with this accessory i've only got it plugged into the plug for charging // Help

    My phone will not charge properly when I put it on charge it comes up with yellow exclamation symbil and infoms me that charging is not supported with this accessory I've only got the charger plugged into it well the plug and conecting cable any help

    That does happen.  It depends on how hard the server is being hit, as well as the connection speed of your system.  If you are on a windows system, you will want to disable any antivirus or firewall software during the download.

  • My HP Officejet 6500 E709a All-in-One will not print more than one copy at a time.

    My HP Officejet 6500 E709a All-in-One will not print more than one copy at a time.  This is especially disconcerting at Christmas time when you're trying to get Christmas letters in the mail!  Any help?

    The cyan portion of the printhead may be clogged.  I would suggest running the diagnostics shown here.  If three levels of cleaning of the printheads does not resolve the issue you may need a new printhead.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • I have a copy of Web Premium CS3 which was installed on a Windows Vista PC.  I have a new Windows 7 PC and the installation disc will not run properly.  The installation begins and then asks for the CS3 disc to be inserted.  If I re-insert the CD I just g

    I have a copy of Web Premium CS3 which was installed on a Windows Vista PC.  I have a new Windows 7 PC and the installation disc will not run properly.  The installation begins and then asks for the CS3 disc to be inserted.  If I re-insert the CD I just get a message asking for the disc to be inserted.  any ideas anyone?

    Use the download version:
    Download CS3 products
    Mylenium

  • DATE AND TIME PICKER ACTIVEX NOT WORKING

    The microsoft date and time picker (6.0) is not working in systems which doesnt have MS office. What is the solution to use this in systmes which doesnt have office.

    I'm not sure what the date and time picker does, but if you use an ActiveX object which does not exist on another system, the only way for it to work is to install MS Office on the target machine. The ActiveX component has to be registered on the systems.
    Probably not what you wanted to hear.
    Is there any way you can get what you want without using ActiveX?
    Mark

  • Issue with Date and Time Picker on Windows 8.1 and Office 2013

    We are having a issue with the Developer tool in Excel called the Date and Time Picker which puts a calendar field into the spreadsheet where you can select a date from the calendar popup
    If we change this date field and then save and close and reopen it reverts back to the previous date before the change was made
    If we do the same process on a Windows 7 machine with Office 2013 it saves the changes we made to the Date and Time picker field

    Hi jdono2,
    I'm using Windows 8 and Office 2013,and I can't reproduce this issue.
    Please make sure you have already upgraded to the latest version of excel, try to reregister the MSCOMCT2.OCX.
    Also you can try to use another date picker add-in to test this issue.
    http://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar?forum=exceldev
    Wind Zhang
    TechNet Community Support

  • Pdf documents will not print properly

    my imac running 10.5.8 will not print some pdf documents properly.  In particular sheet music will only print as horizontal and vertical lines - the symbols and notes do not print.  The 'print preview' shows all the symbols and notation correctly.
    This occurs in both Adobe Acrobat (v10.1.3) and Preview (v 4.2 - 469.5).
    Printer in use is a HP 2600n connected via USB cable.

    Seems it's not sending the Font to the Printer, or the Font has a conflict & the Printer thinks it's another Font.
    Open Font Book & Validate all Fonts & check for duplicates.

  • 4.0 Beta 12 Will not print properly. Is there a fix? How do I uninstall Beta 12?

    After installing the latest patch NOTHING will print as it should. Every site, every file, everything is not spacing properly when sent to the printer. Previous version worked fine and all other browsers print properly.

    I downloaded the suggested file and it fixed the problem. Thanks.

  • HT201493 How do you change the settings for find my friends to use my contacts. When I signed in I selected do not allow iPhone to use my contacts and now all the names are in e mail format.

    When I opened the app I selected do not allow, to use my contacts, but now realise I should have allowed it. I have uninstalled and reloaded it, but it will not ask me to use my contacts again. Any ideas as now I see e mail names and not just the persons name.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

Maybe you are looking for