Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Menus and Toolbars / July 2007

Tip: Looking for answers? Try searching our database.

Task Pane

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
_-Andy-_ - 04 Jul 2007 15:54 GMT
I want to get some data in a Task pane but i don't know how in vba :s
i've done this in vsto but i need it in vba
is there a possibility to make one?
and now maybe a dumb question so don't shoot me
what's the difference between a task pane and the action pane?

All i want to do is get a combobox, a listbox and a couple of lables
and textfields and buttons in some kind of form or task pane or action
pane or whatever
only thing is with a form when you close it all your selections are
gone and i don't want that
i have to be able to see them and add them to my document.
Anyone has some ideas?
Jay Freedman - 04 Jul 2007 17:16 GMT
Custom task panes are possible only in VSTO. In VBA, you can create
userforms -- see
http://www.word.mvps.org/FAQs/Userforms/CreateAUserForm.htm for a very
elementary introduction.

Better than the insertion of userform data at bookmarks, as described
there, is to put the data into document variables (members of the
document's .Variables collection). The template from which the
document is based should have DocVariable fields to display the
resulting values. These are less likely to be deleted accidentally
than are bookmarks.

If you have further questions about userforms, visit the
microsoft.public.word.vba.userforms newsgroup.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

>I want to get some data in a Task pane but i don't know how in vba :s
>i've done this in vsto but i need it in vba
[quoted text clipped - 9 lines]
>i have to be able to see them and add them to my document.
>Anyone has some ideas?
_-Andy-_ - 05 Jul 2007 13:26 GMT
Okey thanks.
I found a way to keep the data in the userform.
Instead of closing the userform i just hide it.
So when i recall the userform all the data is still there.
This probably is a workaround but for now it'll do.
Thanks for the information.

> Custom task panes are possible only in VSTO. In VBA, you can create
> userforms -- seehttp://www.word.mvps.org/FAQs/Userforms/CreateAUserForm.htmfor a very
[quoted text clipped - 30 lines]
> >i have to be able to see them and add them to my document.
> >Anyone has some ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.