Simon,
When copy/paste the lines you listed below,it does not work as the
formatting seems to be important (sorry, I'm a novice in VBA stuff), I tried
to format like this:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
With Application.Calculation = xlManual
End With
Range("D1").Value = Now()
With Application.Calculation = xlAutomatic
End With
End Sub
but didn't work, any hints?
BTW, due to width limits of this interface, the first line should read as 1
complete line.
Thanks,
"Simon Lloyd" wrote:
>
> Try this where calculation is turned off while the date stamp take
> place;
>
> Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As
> Range)
> With Application
> .Calculation = xlManual
> End With
> Range("A1").Value = Now()
> With Application
> .Calculation = xlAutomatic
> End With
> End Sub
>
>
> --
> Simon Lloyd
>
> Regards,
> Simon Lloyd
> 'www.thecodecage.com' (http://www.thecodecage.com)
> ------------------------------------------------------------------------
> Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
> View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=23440
>
>