Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-28-2017, 03:00 PM
ilcaa72 ilcaa72 is offline On .Select, Errors: Cant Execute in Break Mode Windows 7 64bit On .Select, Errors: Cant Execute in Break Mode Office 2013
Novice
On .Select, Errors: Cant Execute in Break Mode
 
Join Date: Jan 2014
Posts: 27
ilcaa72 is on a distinguished road
Default On .Select, Errors: Cant Execute in Break Mode

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
Reply With Quote
 



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
On .Select, Errors: Cant Execute in Break Mode 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
On .Select, Errors: Cant Execute in Break Mode Word won't come back to normal mode from proofreading mode prg4hire Word 2 09-25-2010 09:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft