• How can I store a variable for the life of a doc? (Word XP)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » How can I store a variable for the life of a doc? (Word XP)

    • This topic has 3 replies, 3 voices, and was last updated 22 years ago.
    Author
    Topic
    #388255

    And here is the visio flow diagram i created.

    Viewing 0 reply threads
    Author
    Replies
    • #680837

      I am creating a Functional Requirement Specification Template. The user has asked me to create a macro that will assign a tag (a unique number incremented each time by 1) to the end of each requirement (for traceability purposes). Requirements are represented by Heading levels 5-9. And, it may be assumed that any text having received a style Headings 5-9 is a requirement.

      I have sketched out a process flow and etched details where applicable. Some of them are my own assumptions as to where the a process should be placed, or take place, and therefore available to question. (example: where the ID number gets incremented)

      IMPORTANT: When the document is closed, I need to store the last used ID number, so that when reopened and the macro run, I start incrementing ID numbers where I left off last time. (I’m thinking that I can store it in the Doc Open?)

      Attached, please find the process flow that I’ve written out.

    Viewing 0 reply threads
    Reply To: How can I store a variable for the life of a doc? (Word XP)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: