+ Reply to Thread
Results 1 to 2 of 2

creating a code to create dynamic text in word

  1. #1
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    creating a code to create dynamic text in word

    Hi guys,
    I have a word document and I want to create a code with dynamic fields in it. For instance. When I open the document it should have a command button. When I click the command button then several fields should ask me NAME, AGE, BLOOD PRESSURE, RESPIRATORY RATE and so on.

    I want to create a dynamic text which will be created according to an IF Formula. So if BLOOD PRESSURE IS above 160 then write 'Elevated Blood' Pressure in the Word File.

    can someone help me with this?

    thanks

  2. #2
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: creating a code to create dynamic text in word

    It's rather easy to create an input box, store that value in a variable, and create an if statement that tests if BP or any value is above 160 or anything else.

    See: http://www.your-save-time-and-improv...input_box.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to find a word in a cell, create a transparent text zone over it, create a hyperlink
    By martin brandl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2015, 03:24 PM
  2. VBA Code to create a new MS Word Document.
    By pipoliveira in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2014, 08:52 AM
  3. Creating a Dynamic Graph Using Text Cell References
    By derekjwilson in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 04-02-2013, 11:43 AM
  4. Add text to Existing Word Document if it Doesn't exist create Word Document
    By unstable81 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-10-2013, 12:15 AM
  5. how to code a macro for creating a table in word and fill the colums with data ?
    By giriprasad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2012, 11:45 PM
  6. Creating Dynamic code in Excel Macro
    By Perception in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-17-2011, 02:39 AM
  7. Create a dynamic chart with code
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2005, 01:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1