Can I view the cursors character position???

M

Max Moor

Hi All,
Is there a way I can see the character position (character count) at
the cursor's position. The status bar shows sections, pages, etc., but no
caharacter position.

- Max
 
G

Greg Maxey

Max,

I don't think that you can edit the Status bar. You could use somethign
like the following assigned to a shortcut:

Sub Test()
If Len(Selection.Range) = 0 Then
StatusBar = "The cursor is at position " & Selection.Range.Start
End If
End Sub
 
M

Max Moor

Max,

I don't think that you can edit the Status bar. You could use somethign
like the following assigned to a shortcut:

Sub Test()
If Len(Selection.Range) = 0 Then
StatusBar = "The cursor is at position " & Selection.Range.Start
End If
End Sub


Hi Greg,
I had been using a macro. I had hoped there was a way to display it
in the status bar continuously, like the page numbers are.
I haddn't thought of displaying the value in the staus bar though. I
had been using a MsgBox. This is MUCH better! With a ketboard shortcut
added, this is FAR more convenient.

Thanks for the help,
Max
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top