Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Disable Esc-key - macro

hello Everybody
1. How to disable Esc-key while a macro is running?

2. How to delete comments in a protected worksheet using macro?

With regards
Sreedhar
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Disable Esc-key - macro

1. look at EnableCancelKey in VBA's help.
2. Unprotect the worksheet, do the work, reprotect the worksheet

yshridhar wrote:

hello Everybody
1. How to disable Esc-key while a macro is running?

2. How to delete comments in a protected worksheet using macro?

With regards
Sreedhar


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Disable Esc-key - macro


Sreedhar,
Re 1: Review the help file on the EnableCancelKey property.
Re 2: Unprotect the worksheet, delete, protect the worksheet.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"yshridhar"
wrote in message
hello Everybody
1. How to disable Esc-key while a macro is running?
2. How to delete comments in a protected worksheet using macro?
With regards
Sreedhar
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Disable Esc-key - macro

2. If, when protecting the worksheet you enable "edit objects" you can delete
without un-protecting the worksheet.


Gord Dibben MS Excel MVP

On Fri, 8 Feb 2008 00:32:00 -0800, yshridhar
wrote:

hello Everybody
1. How to disable Esc-key while a macro is running?

2. How to delete comments in a protected worksheet using macro?

With regards
Sreedhar


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default Disable Esc-key - macro

Thaks Gord and Dave. I got it.
With regards
Sreedhar

"Gord Dibben" wrote:

2. If, when protecting the worksheet you enable "edit objects" you can delete
without un-protecting the worksheet.


Gord Dibben MS Excel MVP

On Fri, 8 Feb 2008 00:32:00 -0800, yshridhar
wrote:

hello Everybody
1. How to disable Esc-key while a macro is running?

2. How to delete comments in a protected worksheet using macro?

With regards
Sreedhar





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
How to disable the Macro? Eric Excel Discussion (Misc queries) 1 November 10th 07 04:25 PM
Disable macro at runtime Sandy Excel Worksheet Functions 2 May 12th 07 11:56 AM
disable user running macro from Tools Macro Steve Simons Excel Discussion (Misc queries) 4 September 28th 06 06:28 AM
enable/disable macro RICK Excel Discussion (Misc queries) 4 June 15th 06 07:55 PM
disable macro warning kim Excel Discussion (Misc queries) 2 December 30th 04 05:57 PM


All times are GMT +1. The time now is 03:14 PM.

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"