View Single Post
 
Old 03-21-2016, 04:24 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,387
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Surely it would be better to give the user just one question with a question and code like:
Code:
With Selection.Tables(1)
  With .Cell(.Rows.Count, 1).Range
    If MsgBox("Start/Continue Level 2 numbering?", vbYesNo, "Inspection Report") = vbYes Then
      .Style = "Heading 2"
    Else
      .Style = "Heading 1"
    End If
  End With
End With
Note: The above code only uses the 'Heading 1' & 'Heading 2' Styles for demonstration purposes.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote