Ok, I haven't received any advice to my previous post so I'm trying to do something on my own...
So, I thought that I can create few Command Buttons on UserForm and every one of them will make different form on document appear. First I tried to create one checkbox by command button.
Private Sub CommandButton1_Click() Selection.FormFields.Add Range:=Selection.Range, Type:=wdFieldFormCheckBox Selection.TypeParagraph End Sub
And i got this error in the highlighted line above :
Any advice ? :D I use Word 2003Run-time error '4605': This command is not available
Try attaching an example document
What sort of form do you mean/
Last edited by royUK; 01-06-2011 at 05:41 AM.
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Ok it was because Form was protected and apparently it can't. But, if form is not protected u cannot check form checkboxes or use drop down lists![]()
And I want for user to press one of the buttons, certain form appears, user can tick checkboxes etc and print document.
I attached doc with normal buttons from Control Toolbox but the same error occurs.
See if this is something like you are wanting to accomplish....see attached 2003 Word.docs
Show Form.doc has check boxes
Show Form1.doc has both checkboxes and command buttons
Last edited by jwright650; 01-06-2011 at 04:24 PM. Reason: added second doc file
Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
John Wright
bumped back to the top
Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
John Wright
bump back to the top
Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
John Wright
John
Why are you bumping this?
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Doesn't look like the OP has been on for a few days and was just bumping it back to the top of the New Post list. Just wondering if the OP can use anything that we came up with or not.
Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
John Wright
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks