Re: a bug in Word's Underline, Italic and Bold commands
From: Klaus Linke (info_at_fotosatz-kaufmann.de.no.junk)
Date: 05/03/04
- Next message: Charles Kenyon: "Re: dont want "Date" to be updaed automatically."
- Previous message: Charles Kenyon: "Re: Keyboard not responding in Word & Excel 97"
- In reply to: Larry: "Re: a bug in Word's Underline, Italic and Bold commands"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 3 May 2004 17:06:37 +0200
Hi Larry,
> The problem is that it does not remove underlining when there
> is close punctuation after the word, AND the cursor is between
> the second-to-last letter of the word and the last letter.
Ah, didn't read that carefully enough.
Still can't repro in Word 6 or Word 2000/2002/2003, though.
It might be some setting or other that is different on my machines, or
perhaps some bug that's special to Word97.
> You confuse me when you say the command name is WordBasic.Underline
In Word 6/WordBasic, what Word did when you ran some command from the user
interface (by clicking some button) and from a macro were the same.
Though WordBasic as a macro language is dead, just about all the built-in
commands (even the new ones in Word2003) still "belong" to the WordBasic
object.
I don't know whether you wrote your macro by hand, or used the macro
recorder.
But even if the macro recorder produces some VBA code, it's really
translating built-in commands to VBA.
In many cases, it doesn't even try, and gives you the WordBasic command, or
nothing at all.
Because recording is not trivial (as it used to be in Word 6), the
"recorded" (= translated) VBA code often is rather clumsy, or doesn't act
quite the same as what was done in the user interface when recording the
macro.
Greetings,
Klaus
- Next message: Charles Kenyon: "Re: dont want "Date" to be updaed automatically."
- Previous message: Charles Kenyon: "Re: Keyboard not responding in Word & Excel 97"
- In reply to: Larry: "Re: a bug in Word's Underline, Italic and Bold commands"
- Messages sorted by: [ date ] [ thread ]