View Single Post
  #5   Report Post  
Posted to microsoft.public.word.newusers
Bert Coules Bert Coules is offline
external usenet poster
 
Posts: 123
Default Very simple "change case" macro - why won't it work?

Graham Mayor wrote:

Copy and paste the code you have created into a reply to this thread so we
can see what you have done...


OK. I rerecorded the keystrokes and when I checked under Macros/Edit I
found what seem to be *two* relevant entries:

**************************

Sub Macro26()
'
' Macro26 Macro
' Macro recorded 04/09/2008 by Bert Coules
'
Selection.Range.Case = wdUpperCase
End Sub
Sub Macro24()
'
' Macro24 Macro
' Macro recorded 04/09/2008 by Bert Coules
'
Selection.Range.Case = wdUpperCase
End Sub

**************************

I suppose Macro 24 is an earlier version of my attempt; I would have
expected it to have been replaced by the later one (26, presumably?) but
it's still there. I freely admnit that I have only the haziest idea of how
macros work in Word - why is there no reference in the listing to the
assigned key, for instance?

I would urge you to use a different keyboard shortcut from F9, which has
the important function of updating fields.


I make no use (at least knowingly) of fields, so I thought reusing f9 (as I
already reuse f10, 11, and 12) didn't really matter.

Bert