Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Timestamp Macro

Thanks!!! So I am working for now....maybe it was an excel oddity!

"JLGWhiz" wrote:

I would assume that column AA is used to show if more than one change was
made. i.e. if the data in AB is different than AA then more than one change
occured. Otherwise, you only know when the last change happened.

The code is pretty simple. It checks to see if there are any entries on the
row that the target cell is on. It counts the number of entries on that row
and assigns that as the value of n. If there is only one, then it puts a
date/time entry in col AA and then posts the last change date/time stamp in
col AB.

"PatK" wrote:

Thanks...I guess we have a mystery. I did try to reset the event tracking in
the immediate window, and that did not work. I also incorporated the
recommeneded changes Gord mentions. But it seems clear based upon a debug I
put in as the very first line of code: I was not even getting to the code at
all.

So, I did this: I turned closed all excel files, cycled my computer, turned
it back on, and it is working once more. Hmmmm. So, clearly the event
"tracking" capability was turned off, and as you had noted, probably
something interrupted the code originally due to lack of error trap. Keeping
my finger's crossed that the issue is behind me.

I am somewhat unclear of what is happening logically in the code, as there
area couple of functions in it I am unfamiliar with. Your hint about what
was happening between AA and AB columns was helpful (now, I just need to
understand why you would not just write the last change to AB (instead of
first to AA, then AB)? Ie, does this mean I better leave AA and AB clear? I
know I want the timestamp in AB, but wondering about AA. Guess I will just
hide that cell and I should be ok (don't want anyone writing accidently into
a cell that this code is dependent up).

Patk

But I truly appreciate your help. Now I have to test to see if I can bust
it againl.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with timestamp macro jrm Excel Discussion (Misc queries) 2 August 27th 08 06:47 PM
Timestamp juanpablo Excel Discussion (Misc queries) 3 November 2nd 07 01:55 PM
Timestamp in log bob engler Excel Programming 1 October 10th 06 05:35 AM
Timestamp Macro alexfthe Excel Worksheet Functions 1 March 12th 06 11:39 PM
macro for timestamp option button gwallace Excel Programming 1 October 24th 03 06:11 PM


All times are GMT +1. The time now is 05:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"