keyboard shortcuts

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

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Keyboard Shortcuts

Keyboard Shortcuts

resolvedResolved · Low Priority · Version 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:

Display pictures on Chart Data Point

Replacing a single chart data point bar with a picture.
Step 1: Left click on a bar. Then, wait, and do a second single click on the bar. This will select just one data point.

Step 2: Right click on the bar and select Format Data Point.

Step 3: On the fill effects tab, choose a picture. Browse for a picture for that bar. Indicate if you want it to be stretched or stacked. Repeat for each bar.

View all Excel hints and tips


Server loaded in 0.07 secs.