#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Shortcut key

Is there a shortcut key to delete a worksheet?
I use Excel 2003 and 2007
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Shortcut key

hi
short answer no.
but you can record a macro that does that and attach the macro to a custom
icon.
sub delsheet()
activewindow.selectedsheets.delete
end sub

regards
FSt1

"Mary Ann" wrote:

Is there a shortcut key to delete a worksheet?
I use Excel 2003 and 2007

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Shortcut key

hi
sorry, you wanted a short cut key. yes you can do that too.
2003 on the menu bartoolsmacrosmacros.
select your macro then click options. assign your custom shortcut key.
not sure how to do that in 2007 yet. working on it.

Regards
FSt1

"FSt1" wrote:

hi
short answer no.
but you can record a macro that does that and attach the macro to a custom
icon.
sub delsheet()
activewindow.selectedsheets.delete
end sub

regards
FSt1

"Mary Ann" wrote:

Is there a shortcut key to delete a worksheet?
I use Excel 2003 and 2007

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Shortcut key

If you don't want the warning message add

Application.DisplayAlerts = False

activewindow.selectedsheets.delete

Application.DisplayAlerts = True


Gord Dibben MS Excel MVP


On Thu, 26 Nov 2009 16:22:03 -0800, FSt1
wrote:

hi
short answer no.
but you can record a macro that does that and attach the macro to a custom
icon.
sub delsheet()

end sub

regards
FSt1

"Mary Ann" wrote:

Is there a shortcut key to delete a worksheet?
I use Excel 2003 and 2007


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
Is there a shortcut for this?? Ross Excel Discussion (Misc queries) 4 January 10th 09 05:07 PM
Shortcut Alam Excel Discussion (Misc queries) 1 December 6th 07 07:03 AM
Shortcut Graham Excel Discussion (Misc queries) 1 January 3rd 06 05:45 PM
Is there a shortcut? Bryan Excel Discussion (Misc queries) 2 December 15th 05 12:25 PM
shortcut robert Excel Worksheet Functions 2 December 1st 05 01:56 AM


All times are GMT +1. The time now is 10:55 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"