Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 460
Default Macros will not run with shortcut keys

This macro will not run with the shortcut keys but will run using
tools,macros, run. I have several more similar and one will run with the keys
the others will not.


Sub Indent_Left_1()
'
' Indent_Left_1 Macro
' Macro recorded 4/2/2009 by Doug
'
' Keyboard Shortcut: Ctrl+Shift+L
'
With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 1
.ShrinkToFit = False
.ReadingOrder = xlContext
End With
End Sub

--
dm
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Macros will not run with shortcut keys

Tools Macro Macros Options. This shows your macros assigned to a
shortcut key. Enter a letter (not number) there. Your macro will be
assigned to that key-combination. Ctrl + ... whatever ...

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Doug" wrote:

This macro will not run with the shortcut keys but will run using
tools,macros, run. I have several more similar and one will run with the keys
the others will not.


Sub Indent_Left_1()
'
' Indent_Left_1 Macro
' Macro recorded 4/2/2009 by Doug
'
' Keyboard Shortcut: Ctrl+Shift+L
'
With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 1
.ShrinkToFit = False
.ReadingOrder = xlContext
End With
End Sub

--
dm

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Macros will not run with shortcut keys

Tested in 2003 using CTRL + SHIFT + L

No problems here.

Are you sure you haven't changed the shortcut since you recorded the macro?


Gord Dibben MS Excel MVP

On Mon, 14 Dec 2009 15:24:01 -0800, Doug
wrote:

This macro will not run with the shortcut keys but will run using
tools,macros, run. I have several more similar and one will run with the keys
the others will not.


Sub Indent_Left_1()
'
' Indent_Left_1 Macro
' Macro recorded 4/2/2009 by Doug
'
' Keyboard Shortcut: Ctrl+Shift+L
'
With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 1
.ShrinkToFit = False
.ReadingOrder = xlContext
End With
End Sub


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
macros shortcut keys don't work Doug New Users to Excel 0 November 18th 09 03:04 PM
Shortcut Keys BACH Excel Discussion (Misc queries) 4 October 24th 08 01:09 AM
Macros Shortcut keys WSW Setting up and Configuration of Excel 1 May 14th 06 01:47 PM
Shortcut keys assigned to macros/functions in excel Aussie CPA Excel Worksheet Functions 8 September 13th 05 02:49 AM
Changing shortcut keys on macros WayneB Excel Worksheet Functions 2 March 13th 05 07:24 PM


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