Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Word / May 2008



Tip: Looking for answers? Try searching our database.

how to ask user for a variable and print it throughout the word doc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erik Witkop - 07 May 2008 21:02 GMT
So I am a php/perl person and I really don't know how to work within
the MSword confines. Can someone help me come up with an attack for
this problem.

Here is what I am looking to do:

A user opens a word document (office 2007). A popup window asks for a
few responses such as

customer_name
engineer_name
etc...

Then the script runs and populates the appropriate fields with that
given information.  Now I guess it can be a 'find and replace' but if
there is something more elegant such as a variable etc... I am all
ears.

Thanks in advance,

Erik Witkop
CyberTaz - 07 May 2008 21:48 GMT
Well, you've stumbled into the Mac Word group, Erik, so anything we might do
for such a situation probably would not be the same in 2007:-) Have a look
at the Windows groups on this page to get what you need

http://www.microsoft.com/office/community/en-us/FlyoutOverview.mspx

Regards |:>)
Bob Jones
[MVP] Office:Mac

On 5/7/08 4:02 PM, in article
c23f12e1-92e9-4f35-8210-f141eacf6c57@m36g2000hse.googlegroups.com, "Erik
Witkop" <ewitkop@gmail.com> wrote:

> So I am a php/perl person and I really don't know how to work within
> the MSword confines. Can someone help me come up with an attack for
[quoted text clipped - 17 lines]
>
> Erik Witkop
John McGhie - 08 May 2008 06:44 GMT
Hi Erik:

Look up ASK and FILLIN field in the Help.  That's what you need.

Ignore the references to mail merge: they can be used in any context you
like.  Use them to populate bookmarks, then insert cross-references to the
bookmarks wherever you want the text the user filled in to appear.

For a critical application, look up "User Forms".  These enable you to build
your own dialogs and perform data validation.

And as Bob says, you're in the wrong forum :-)  The nice folks in the Word
2007 group will help you from here...

Cheers

On 8/05/08 6:02 AM, in article
c23f12e1-92e9-4f35-8210-f141eacf6c57@m36g2000hse.googlegroups.com, "Erik
Witkop" <ewitkop@gmail.com> wrote:

> So I am a php/perl person and I really don't know how to work within
> the MSword confines. Can someone help me come up with an attack for
[quoted text clipped - 17 lines]
>
> Erik Witkop

Signature

Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group.  Please do NOT email me unless I ask you to.

John McGhie, Microsoft MVP, Word and Word:Mac
Sydney, Australia.   mailto:john@mcghie.name

 
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.