+ Reply to Thread
Results 1 to 10 of 10

Time Stamp written to a hidden sheet

  1. #1
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Time Stamp written to a hidden sheet

    Hi All,

    With help from Mike Rickerson on Excel Forum, I was able to get the stamp time running on my worksheet. I'm now trying to get the time stamp to write on a different sheet that will be eventually be hidden. Does anyone know how to change this code to write to a different sheet?

    Please Login or Register  to view this content.

    Thanks,

    E
    Last edited by enhydra; 05-14-2017 at 06:20 PM.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Time Stamp written to a hidden sheet

    Just cut and paste the code from the worksheet that it is on to the worksheet that you are going to have hidden.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Time Stamp written to a hidden sheet

    Code updated 14 May 2017 14:25 - LLN
    Nope, sorry gmr4evr1, that won't work. The events being responded to occur on the original worksheet, so the code has to stay there:
    Please Login or Register  to view this content.
    You weren't specific about where to put the timestamp, so I mirrored the original address. But you get the idea...

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 05-14-2017 at 02:56 PM.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Time Stamp written to a hidden sheet

    My bad, I realized a few minutes ago that I gave enhydra bad info. Fortunately another member was on their toes and gave correct info.
    Thanks for the help leelnich.

  5. #5
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: Time Stamp written to a hidden sheet

    Thank you Leelnich, you are correct. The code is looking for a change C3:C42 on sheet1 and I want to time stamp on sheet2 starting with column S related to the change with sheet1. It counts the last column of time stamp and increments to the next column. Unfortunately I can not get the code that you posted to work, it doesn't show any time stamp. So i really want it stamp on sheet2 in the same place it is now placing it with sheet1.

    Thanks,

    E
    Last edited by enhydra; 05-14-2017 at 02:39 PM.

  6. #6
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Time Stamp written to a hidden sheet

    I updated the code in post #3 at about the same time you posted #5. Please try the new code and see if it works.
    (NOTE: I assume you changed the worksheet name to match your hidden sheet name.)

  7. #7
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: Time Stamp written to a hidden sheet

    Yes the sheets are simple, sheet1 and sheet2. I change the code and getting a "subscript out of range" error on this line. With Worksheets("sheet2").Range(tAddress)

  8. #8
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: Time Stamp written to a hidden sheet

    Wait, it's working. I was getting some strange errors so I rebooted and it is now working.

  9. #9
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Time Stamp written to a hidden sheet

    Strange, it's working fine for me. I don't protect my workbooks though, maybe that's the problem. Check the attached workbook.
    OK, Great! Glad I could help. If you're satisfied, please mark the thread SOLVED. Take care.-Lee
    Attached Files Attached Files
    Last edited by leelnich; 05-14-2017 at 03:54 PM.

  10. #10
    Forum Contributor
    Join Date
    12-03-2009
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: Time Stamp written to a hidden sheet

    Lee, thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy row with a changed cell to new sheet, next empty row, with time stamp for history
    By ruthieag in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-02-2016, 10:01 AM
  2. Computer time stamp -> excel time stamp
    By j.petrut in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-27-2014, 05:49 PM
  3. Identify Duplicate and copy into New sheet with time stamp
    By vinaynaran in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2013, 10:11 AM
  4. Time stamp when you update a message or a checkbox on an excel sheet
    By jg_2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2013, 06:17 AM
  5. Macro needed to add User Name and Date/Time Stamp in Tracking Sheet
    By EHarvill in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-11-2011, 03:22 PM
  6. Replies: 3
    Last Post: 01-19-2006, 02:40 PM
  7. Time stamp in Excel Sheet
    By John M in forum Excel General
    Replies: 3
    Last Post: 06-28-2005, 09:06 AM

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