Results 1 to 17 of 17

Thread: Run Time Error 5844

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    The lockdown is relaxed tomorrow, even though we have the highest infection rate in Europe. Given that we have been in lockdown since last November, clearly it is a ploy that doesn't work.

    I don't see the issue with the bold (see illustration). It probably relates to the style used; however if you add the line indicated below it may help.

    .Show
            If .Tag = 0 Then GoTo lbl_Exit
    sBoldList = Split(sBold & .txtBoldList.Text, ",")
    oDoc.Variables("BoldList").Value = .txtBoldList.Text
            oDoc.Variables("Missed").Value = .OptionButton2.Value
            For Each occ In oDoc.ContentControls
        Set oRng = occ.Range
        oRng.Font.Bold = False

    2021-05-09_06-29-06.jpg
    Last edited by Aussiebear; 12-24-2024 at 02:16 AM.
    Graham Mayor - MS MVP (Word) 2002-2019
    Visit my web site for more programming tips and ready made processes
    http://www.gmayor.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •