Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Ryan Ryan is offline
external usenet poster
 
Posts: 39
Default VB Text Control - Document Branding - Word 2007

I have found several ways to gain access to other components in a document
though the visual basic built in programming language. But my issue is trying
to brand a document in such a way that when the user chooses an option from
the drop down menu the document will then be formatted to replace images
passed in by reference to a file location, and enable/disable text as
required.

What I can't figure out is a way to assign VB properties to a text box or
frame that contains text that can be formatted (bullets, fonts, bold etc).

Ex, is there a way to create a form object or text object that contains a
section (or numerous paragraphs) or text and a name be given to the frame or
text section.

That is, a button that could access the section in its' onclick() event and
adjust properties such as textSection.visible = false / true.

If this is not possible in any way, does anyone have other suggestions on
how this might be possible?

Cheers,

- Ryan
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Ryan Ryan is offline
external usenet poster
 
Posts: 39
Default VB Text Control - Document Branding - Word 2007

/bump
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default VB Text Control - Document Branding - Word 2007

No idea what you think you're bumping since you didn't quote it, but note
that you have posted to an end user NG, where you are less likely to find
anyone who can help you with VBA, much less VB. Try posting to one of the
..word.vba NGs.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Ryan" wrote in message
...
/bump


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default VB Text Control - Document Branding - Word 2007

Hi ?B?Unlhbg==?=,

Take a look at the new Content Controls, and read up on them in the Word team's
blog (http://blogs.msdn.com/microsoft_office_word).

I have found several ways to gain access to other components in a document
though the visual basic built in programming language. But my issue is trying
to brand a document in such a way that when the user chooses an option from
the drop down menu the document will then be formatted to replace images
passed in by reference to a file location, and enable/disable text as
required.

What I can't figure out is a way to assign VB properties to a text box or
frame that contains text that can be formatted (bullets, fonts, bold etc).

Ex, is there a way to create a form object or text object that contains a
section (or numerous paragraphs) or text and a name be given to the frame or
text section.

That is, a button that could access the section in its' onclick() event and
adjust properties such as textSection.visible = false / true.

If this is not possible in any way, does anyone have other suggestions on
how this might be possible?


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word should catalog misspelled words to study. rndthought Microsoft Word Help 39 May 21st 23 02:47 AM
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
I am having difficulty with deleting headers and footers LHD New Users 5 July 24th 06 01:44 AM
Word & WordPerfect MrsMac Microsoft Word Help 5 June 10th 06 03:14 AM
WP merge file to Word sstires Tables 4 February 14th 06 06:26 PM


All times are GMT +1. The time now is 10:28 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"