Prev: Delete Inline Shape Problem
Next: Convert to PDF
From: Doug Robbins - Word MVP on 30 Oct 2009 17:47 Select it and then create a bookmark in the usual way. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Vinnie" <Vinnie(a)discussions.microsoft.com> wrote in message news:CC2FAEF8-E0BD-4670-86DF-86D90A94CFDD(a)microsoft.com... > Just one last question. > How do I "assign" a bookmark to a combobox ? > > Thanks in advance. > > "Doug Robbins - Word MVP" wrote: > >> You could select the combobox and assign a bookmark cmbbox to it and then >> use the following code >> >> ActiveDocument.Bookmarks("cmbbox").Range.Font.Hidden = True >> Options.PrintHiddenText = False >> >> >> -- >> Hope this helps >> >> Doug Robbins - Word MVP >> Please reply only to the newsgroups unless you wish to avail yourself of >> my >> services on a paid, professional basis. >> >> "Vinnie" <Vinnie(a)discussions.microsoft.com> wrote in message >> news:28E2ADF4-2559-4B4B-8BDF-2CF9BA252BC0(a)microsoft.com... >> > So no possible way to hide dropdowns, in the document and without >> > userform, >> > when the document is printed ? >> > >> > :( this would mean i have to redo my document (and since i'm a bit of a >> > newbee ...) >> > >> > but thanks anyway for the answer. >> >> >> . >>
From: Doug Robbins - Word MVP on 30 Oct 2009 17:49
If thought we were talking about a combobox. Where did the checkbox come into it? -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Vinnie" <Vinnie(a)discussions.microsoft.com> wrote in message news:04DEF9A7-8BB7-47C1-8657-8ABEB137A276(a)microsoft.com... > ok, this is what i tried already. > i insert a combobox, i seldect it and then i insert a bookmark. > > As far as i can see, the combobox is IN the bookmarkt. > > I have then created 2 buttons: > 1) show bookmarkt > 2) hide bookmark > for test i put a msgbox with the buttons, so i can see that they are > called. > > Both buttons work and i have put the code to hide the bookmark : > ActiveDocument.Bookmarks("cmbbox").Range.Font.Hidden = True > Options.PrintHiddenText = False > > I have also checked the print options before printing and the checkbox > with > hidden text is unchecked. > But in the printpreview the checkbox is still visible. > > Is this normal? > > Greetings, > > > "Doug Robbins - Word MVP" wrote: > >> You could select the combobox and assign a bookmark cmbbox to it and then >> use the following code >> >> ActiveDocument.Bookmarks("cmbbox").Range.Font.Hidden = True >> Options.PrintHiddenText = False >> >> >> -- >> Hope this helps >> >> Doug Robbins - Word MVP >> Please reply only to the newsgroups unless you wish to avail yourself of >> my >> services on a paid, professional basis. >> >> "Vinnie" <Vinnie(a)discussions.microsoft.com> wrote in message >> news:28E2ADF4-2559-4B4B-8BDF-2CF9BA252BC0(a)microsoft.com... >> > So no possible way to hide dropdowns, in the document and without >> > userform, >> > when the document is printed ? >> > >> > :( this would mean i have to redo my document (and since i'm a bit of a >> > newbee ...) >> > >> > but thanks anyway for the answer. >> >> >> . >> |