View Single Post
 
Old 12-13-2015, 10:28 AM
Jennifer Murphy's Avatar
Jennifer Murphy Jennifer Murphy is offline Windows XP Office 2007
Competent Performer
 
Join Date: Aug 2011
Location: Silicon Valley
Posts: 234
Jennifer Murphy is on a distinguished road
Default

Hello,

I never got any replies on this question. It's still happening. Can anyone suggest a fix?

Thanks

PS: I have some new data.

If I simply rerun the macro from the line where the tab key is misbehaving, the problem is fixed. I set a breakpoint in the macro and stepped through what it does. If it is not called from a heading line, it just assigns two variables and exits.

Code:
Dim DocLayout   'The document layout (view)
Dim ParOutline  'The paragraph outline level (1-9 + 10 (=Bodytext))

DocLayout = ActiveWindow.View
ParOutline = Selection.Paragraphs(1).OutlineLevel
Why would that change anything?
Reply With Quote