Results 1 to 10 of 10

Thread: Listbox Content Control - Reset default?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Regular
    Joined
    May 2012
    Posts
    22
    Location

    Listbox Content Control - Reset default?

    Let's say we have a list box. We have there a prompt "Pick value" and the options are "1", "2" and "3". User picks value "3". Now in order to reset this value to "Pick value", what do I need?

    This
        Dim obj
        Set obj = ActiveDocument.ContentControls(2)
        obj.Range.Text = obj.PlaceholderText.Value
    fails to "You are not allowed to edit this selection because it is protected".
    Last edited by KilpAr; 08-07-2017 at 03:33 PM.

Posting Permissions

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