Max Wanadoo
max.wanadoo at gmail.com
Wed Mar 4 17:08:39 CST 2009
Use the Macro Record option to create two macros. Say Alt-R for Courier and Alt-M for Times New. Use these to switch between fonts. Max Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 04 March 2009 23:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Word Macros Jim, It is the shortcut key information I need to know. I write the code in Access, compile, test etc. Once I have the code working I have to copy and then paste into Word. I currently just highlight and then select the font from the tool bar. What I think I would like is to do an alt-Something to cause it. We all know that Alt-I toggles Italics and Alt-B toggles Bold. I need an Alt-Something to toggle the code font and AltSomethingElse else to toggle the normal font. Never having done that I am not sure it would really work that way or not. John W. Colby www.ColbyConsulting.com Hewson, Jim wrote: > You could create two Styles. One for Code and another "normal" text of > your documents. > Each style can include the font, font size, color of the font, paragraph > spacing, etc. > After you paste the code into the document, highlight the text, choose > the style you need and whatever is highlighted will change. You can > actually create short cut keys for each style - for example Alt+C for > Code. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, March 04, 2009 1:23 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Word Macros > > I am writing up another Class lecture and I do so in Word. What I need > is the ability to from the > keyboard select a font before I go typing a specific piece of text. For > example I want to change to > the Courier New when I paste in code examples. After the paste I need > to go back to the Times New > Roman. > > Is it possible to do this somehow, but to do so across documents, i.e. > have it available in any work > document I open? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com