Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

keyboard shortcuts

ResolvedVersion 2007

Gari has attended:
Excel VBA Intro Intermediate course

Keyboard Shortcuts

A lot of the procedures that I am looking to convert don't tend to make use of buttons or visual prompts; I tend to just hit CTRL + <letter> once I've finished populating the excel with data and it runs - usually emailing the excel as an attachment to someone.

This has previously been set up via Macro recorder, however I am keen to know if this is something that I can code into my Proceedure (and if so, which section would be the best section to define this?)

Many thanks!! :)

RE: Keyboard Shortcuts

Hi Gari, thanks for your query. You can indeed hard code keyboard shortcuts to trigger subroutines. Here's a useful walkthrough:

http://vbadud.blogspot.com/2007/06/assigning-shortcut-keys-excel-macros.html

Hope this helps,

Anthony

Mon 30 May 2011: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Change the Value of a Constant

When using a named constant in a worksheet, you may wish to change the value of that constant.

From the 'Insert' menu, select 'Name', then select 'Define'.

In the 'Define Name' dialog box, select the constant that you want to change.
Change the value in the 'Refers To' box.
Click OK.

Wherever that named constant has been used it will now use its new value.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.