How to Insert Date and Time if a Checkbox is Checked in Excel

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 48

  • @Excel10tutorial
    @Excel10tutorial  9 месяцев назад +1

    Recommend WPS Office-Best FREE alternative to Microsoft Office, Download for Win & Mac & Mobile.
    Free Download link: bit.ly/3vuZxOG

  • @RobertSpeed-o4e
    @RobertSpeed-o4e 9 месяцев назад

    You sir, just solved a massive issue I was having not being able to use Google Sheets. !!!!!!!!!!!!!!!!!!!!

  • @tonydiulio
    @tonydiulio 3 месяца назад

    Not sure if this is still being reviewed but what would I need to change in the macro to get the date and time to be inserted in the cell below the checkbox rather than to the right of the checkbox? Thank you for all your help , this was a great video

    • @nuc9ear
      @nuc9ear 3 месяца назад

      With VarCheckBox.TopLeftCell.Offset(, -1)

    • @Excel10tutorial
      @Excel10tutorial  2 месяца назад

      You need to change the code a bit. Find the below line in the code:
      With VarCheckBox.TopLeftCell.Offset(, 1)
      Now replace the above line with below line:
      With VarCheckBox.TopLeftCell.Offset(1, 0)

  • @petermarcussen6265
    @petermarcussen6265 9 месяцев назад

    Great video, is there a way to auto add account name in a cell aswell?

  • @miaaTOOfine17
    @miaaTOOfine17 11 месяцев назад +1

    How do you add the marco time stamp tho? How did you create it?

  • @FamilyBenjamin
    @FamilyBenjamin 4 месяца назад

    I love this! Thank you!

  • @ahmedalshamsi6644
    @ahmedalshamsi6644 Год назад +2

    its super nice but in big data is glitchy and slow ? or it s just with me

    • @CW-cj6nd
      @CW-cj6nd Год назад

      likely because of the ".EntireColumn.AutoFit" line which just make the column wide enough to fit text. You can remove this and resize the columns manually and it should run quicker.

    • @mikeyb4642
      @mikeyb4642 Год назад

      Mine isn't that large (600 rows with 5-6 columns per row) and it starts off quick, then slows down quickly until closed and reopened.

  • @lalu15248
    @lalu15248 10 месяцев назад

    Can this be done i na separate sheet ? I mean, when you check the box, can it get the serial number and the date and time and put it in an inactive sheet in the same workbook?

    • @Excel10tutorial
      @Excel10tutorial  10 месяцев назад

      Yes. Its possible. Change the vba code where you have the column name to you'r preferred reference.

  • @vichetka1
    @vichetka1 8 месяцев назад

    Thanks you

    • @Excel10tutorial
      @Excel10tutorial  8 месяцев назад

      Most Welcome. Please subscribe and share

  • @artloverrarts
    @artloverrarts Год назад

    just what i needed tyy

  • @bretthaggadone4497
    @bretthaggadone4497 Год назад +2

    Why does the Date stamp always populate one cell to the right and one cell up from the check box I am checking?

    • @xusiekerlly6648
      @xusiekerlly6648 Год назад

      the same problem :(

    • @xusiekerlly6648
      @xusiekerlly6648 Год назад +5

      and I've just found out how to fix it also (:
      in line 4 of his given code, you add one more number "1" after the parentheses and before the comma. It looks like this
      With VarCheckBox.TopLeftCell.Offset(1, 1)
      maybe he forgot this little "1" (:

    • @marianolasco251
      @marianolasco251 Год назад

      @@xusiekerlly6648 I added the 1 after the parentheses and before the comma. That was able to adjust all the other date stamps except for the very first one, now it populates one cell to right and one cell down from the checkbox. 🥲

    • @atiqahbee
      @atiqahbee 11 месяцев назад

      @@xusiekerlly6648 Try this With VarCheckBox.TopLeftCell.Offset(1, 1)

    • @jonny396099
      @jonny396099 6 месяцев назад

      @@xusiekerlly6648 Verify the size of your object fits entirely in the available row height. If there is any overlap, it may cause the time stamp to be offset. You can fix it by changing the vertical offset as you have described or you can move your object. Make sure the bounding boxes are small enough to fit in the row as the size of a checkbox does not actually change.

  • @sherlon-e6c
    @sherlon-e6c Год назад

    thanks Man

  • @AmandeepSingh-yi5xr
    @AmandeepSingh-yi5xr Год назад

    Sir while i apply filter in check box excel sheet .check boxes are overlaped.

  • @rajeevakumardubey4602
    @rajeevakumardubey4602 Год назад

    Dear I’m unable to fix how to lock columns on dates , I watch your video but not resolved the issue

  • @benjaminlkv3594
    @benjaminlkv3594 6 месяцев назад

    the script works but there is no space between year and time. how to resolve this issue

    • @Excel10tutorial
      @Excel10tutorial  5 месяцев назад

      Increase space here .Value = Date & " " & Time like this .Value = Date & " " & Time

  • @Readysetlian9
    @Readysetlian9 Год назад

    When I check the box, my date running one cell up and not beside the checkbox. How can I solve?

    • @abbiemcevoy4163
      @abbiemcevoy4163 6 месяцев назад

      same did you solve this?

    • @jonny396099
      @jonny396099 6 месяцев назад

      @@abbiemcevoy4163 Verify the size of your object fits entirely in the available row height. If there is any overlap, it may cause the time stamp to be offset.

  • @tongabullbrothers6041
    @tongabullbrothers6041 Год назад

    After I close the sheet, it loses the macro

  • @rananji
    @rananji Год назад

    The date is in US format, how to change it to UK format?

  • @YK-zs8kq
    @YK-zs8kq Год назад +1

    cannot set the module line 3

  • @killbillpandey-p2m
    @killbillpandey-p2m Год назад

    Everything you explain is there in the previous video as you told then why did you make this video?🥶

    • @Excel10tutorial
      @Excel10tutorial  Год назад

      Because this video is the combination of two different videos. Timestamp and Checkboxes.

  • @Elly-s7o
    @Elly-s7o Год назад

    i want to marry you!!! thanks for the perfect explanation