![]() |
|
#1
|
|||
|
|||
|
here is the code, i am using Step through in the debugger, when i get to .Select it says, "Cant Execute in Break Mode" . it actually stills selects the sentence and I can continue but still displays this error msg. I would like to select the sentence, to visually track the changes.
Anyway to fix this issue? thanks Code:
If do_DocVars_Exist = 1 Then
sentNumb = ActiveDocument.Variables("selNumb").Value
Set prevSent = doc.Sentences(sentNumb)
With prevSent
.Select
.Font.Size = ActiveDocument.Variables("selSize").Value
.Font.Color = ActiveDocument.Variables("selColor").Value
.Font.Name = ActiveDocument.Variables("selName").Value
End With
End If
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why are Portrait mode JPG Images changed to landscape mode | KHH0725 | PowerPoint | 0 | 02-22-2017 01:51 PM |
| Microsoft Office Word Online Text Space is Different in Reading Mode from When it's in Editing Mode | darkjanggo | Word | 1 | 12-15-2015 05:06 PM |
Can you set -break on all errors in code
|
moggymiaow | Word VBA | 4 | 10-10-2013 04:01 PM |
| paragaph hard break, soft break and ...strange break | czomberzdaniela | Word | 2 | 12-03-2010 06:58 PM |
Word won't come back to normal mode from proofreading mode
|
prg4hire | Word | 2 | 09-25-2010 09:46 AM |