Hewson, Jim
JHewson at nciinc.com
Thu Mar 5 08:15:29 CST 2009
That's the whole point John. When you create a "Style" you can determine the Alt-Something of your choice for the style. So... when you paste code in your document, highlight it, toggle the code font/formatting with the Alt-something you chose when you created the Style. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, March 04, 2009 5:04 PM 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 ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################