Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default The undo button is greyed out due to this formula

Steved

The running of the code will always wipe the 'undo buffer'

You can run the undo method but it must be the first line of the code, so is
not of use in your issue

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Steved" wrote in message
...
Hello from Steved.

I've installed the below formula in excel but the undo function button
geys
out after I use the enter key to goto the next cell and stays greyed out,
but
when I delete the below formula the undo function works fine. My question
please what do I need to do to allow the undo function to work, at all
times.

Option Explicit
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
If .Count 1 Then Exit Sub
If Not Intersect(Range("A5:AB272"), .Cells) Is Nothing Then
Application.EnableEvents = False
If Not IsEmpty(.Value) Then
Me.Range("b3") = Now
End If
Application.EnableEvents = True
End If
End With
End Sub

Thankyou.



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
Undo button and redo button quit stillkicking Excel Discussion (Misc queries) 7 November 14th 09 04:40 PM
Merge button greyed out Chris Hughes Excel Discussion (Misc queries) 2 May 15th 07 04:38 PM
how do i undo greyed out areas in a sheet lc_craze Excel Discussion (Misc queries) 3 February 28th 06 02:56 PM
greyed out button M Zahedi Excel Discussion (Misc queries) 3 September 15th 05 05:41 PM
Close button greyed-out??? John Keith[_2_] Excel Programming 3 September 1st 05 07:43 PM


All times are GMT +1. The time now is 12:36 PM.

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

About Us

"It's about Microsoft Excel"