+ Reply to Thread
Results 1 to 6 of 6

Date and Time Stamp Excel 2007

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Date and Time Stamp Excel 2007

    Hello
    I have added check boxes to a workbook. Is it possible to set it up so that the Date and Time is showed when the check box is ticked?
    Thanks in advance

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,691

    Re: Date and Time Stamp Excel 2007

    Welcome to the Forum!

    Yes it is, but where do you want the time and date to be shown?

    It requires VBA code (macros). The specific code depends on what type of checkboxes are you are using. There are two types, the older Form checkboxes and the newer ActiveX checkboxes.

    It would be best if you attached your file.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    02-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Date and Time Stamp Excel 2007

    I have attached an example of the file. I would like the date and time to appear above the Management Meeting for example when the check box is ticked and the date to remain static.Example Doc.xlsx I have used the the form controls check box not the ActiveX.

    Thanks


    Quote Originally Posted by 6StringJazzer View Post
    Welcome to the Forum!

    Yes it is, but where do you want the time and date to be shown?

    It requires VBA code (macros). The specific code depends on what type of checkboxes are you are using. There are two types, the older Form checkboxes and the newer ActiveX checkboxes.

    It would be best if you attached your file.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,691

    Re: Date and Time Stamp Excel 2007

    Here is a solution that replaces your controls with ActiveX controls. I do not use Form controls and the coding is not as straightforward for them. If that matters to you and you require Form controls then hopefully someone else will provide that solution.

    (Note that it is not necessary to quote the entire post you are responding to.)

  5. #5
    Registered User
    Join Date
    02-04-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Date and Time Stamp Excel 2007

    Thank you so much for your help. It works but doenst look as "pretty" as the form controls check box as I want to colour the cells and it leaves a white background. But apart from thats its perfect.

    Thanks

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,691

    Re: Date and Time Stamp Excel 2007

    It is possible to set the background as transparent on these controls. I have done so in this attachment. Go into Design mode, right-click on the control, and set BackStyle as Transparent.

    They are pretty now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1