D
Dennis Jones
Hi ... thanks for reading this ...
1. In Word XP, create a new document and enter in at least 10 paragraphs of
text.
2 Add a module with these procedures:
Public Sub Setup()
CustomizationContext = ActiveDocument
With KeyBindings
.ClearAll
.Add wdKeyCategoryMacro, "Testeroo", BuildKeyCode(wdKeyTab)
End With
End Sub
Sub Testeroo()
StatusBar = "Some Text"
ActiveDocument.Paragraphs(10).Range.Select
End Sub
3. Run the Setup sub.
4. In the document, press Tab. Paragraph 10 is selected.
5. Type a single letter ... nothing happens. If you continue to type, all
subsequent characters are entered normally.
NOTE: Surprisingly this bug does not appear for paragraphs 1 through 9! Only
from 10 onward!
I need to be able to take the user to a selected range of text and display a
status and not have the first character a user types be ignored. Thoughts?
Thanks in advance,
Dennis
1. In Word XP, create a new document and enter in at least 10 paragraphs of
text.
2 Add a module with these procedures:
Public Sub Setup()
CustomizationContext = ActiveDocument
With KeyBindings
.ClearAll
.Add wdKeyCategoryMacro, "Testeroo", BuildKeyCode(wdKeyTab)
End With
End Sub
Sub Testeroo()
StatusBar = "Some Text"
ActiveDocument.Paragraphs(10).Range.Select
End Sub
3. Run the Setup sub.
4. In the document, press Tab. Paragraph 10 is selected.
5. Type a single letter ... nothing happens. If you continue to type, all
subsequent characters are entered normally.
NOTE: Surprisingly this bug does not appear for paragraphs 1 through 9! Only
from 10 onward!
I need to be able to take the user to a selected range of text and display a
status and not have the first character a user types be ignored. Thoughts?
Thanks in advance,
Dennis