Custom-style outline template with prompts and glossary page

Hello
I would like to make a template in Word 2010 with a custom-style outline. Would anyone be able to suggest how to achieve these requirements (pointing me to reading material also helpful):
1. Every phrase the user types into a field gets automatically added to a final glossary page, listing exact letter-for-letter duplicates only once.
2. Upon opening an instance of the template the user is prompted with the following entry form questions:
       ○ Prompt: "What error message or problem description will this document cover?" The free-text answer will populate the header of each page in the title style.
       ○ Prompt: "What is your initial condition? If none, press enter." The free-text answer will populate the first line in heading1 style in the form "Additional Condition: [user's answer]".
If the answer is of string length 0, the user's answer defaults to "none".
       ○ Prompt: "List all possible causes for initial condition, separated by a comma. Phrase possible causes as a question." Each comma-separated free-text answer will populate the next line in heading2
style with the numbering convention "Possible Cause [#]".
 3. Under each possible cause item the following items appear in heading3 style, each on its own line: "System overview, Tools required, Safety precautions, Troubleshooting steps, Confirm possible cause, Fix confirmed
cause". Underneath the items just listed appear more fields that the user can use.
I realize this is a lengthy post, probably too specific, but if I could get pointed in the right direction I am willing to do the research!

Thank you for the insights, Fei Xue. Let me try to explain to glossary requirement better...
The glossary will reiterate all phrases entered by the user (this is an outline so each phrase will be a paragraph, but paragraphs the paragraphs a brief). I have the following code that executes as written but the problem comes when you change content
in the outline the glossary does not get updated.
'THIS CODE IS IN A MODULE'Sub PageBreakPlus()
Selection.InsertBreak Type:=wdPageBreak
End Sub
Function ProblemFunc() As String
ProblemFunc = InputBox("Type the error message verbatim. If no error message, type brief problem description to be used as a phrase.", "Error Code Administration")
End Function
Function AddConFunc() As String
AddConFunc = InputBox("Type an additional condition to be used as a phrase. If none, click OK.", "Additional Condition", "None")
End Function
Function CausesFunc() As String
CausesFunc = InputBox("List all possible causes for additional condition in the order a user should investigate them. Phrase possible causes as a question.", "Possible Causes")
End Function
'THIS CODE IS IN ThisDocument'Private phrases() As String 'no used at this point'
Private Sub Document_New()
Dim causeString As String
Dim causeArray() As String
Dim problem As String
Dim addcon As String
Dim templateRev As String: templateRev = "16-Apr-2015"
'get the prompts and split the causeString into each question'
problem = ProblemFunc
addcon = AddConFunc
causeString = CausesFunc
causeArray = Split(causeString, "?")
If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
ActiveWindow.Panes(2).Close
End If
If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _
ActivePane.View.Type = wdOutlineView Then
ActiveWindow.ActivePane.View.Type = wdPrintView
End If
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
With Selection
.Style = ActiveDocument.Styles("Title")
.TypeText problem
.ParagraphFormat.Alignment = wdAlignParagraphCenter
.TypeParagraph
.ParagraphFormat.Alignment = wdAlignParagraphCenter
.TypeText Text:="Template Rev. " & templateRev & vbTab & "Document Rev. "
.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:="CREATEDATE \@ ""d-MMM-yyyy"" ", PreserveFormatting:=True
End With
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
For Each cause In causeArray
If Len(cause) <> 0 Then
With Selection
.TypeText Trim(cause) & "?"
.Style = ActiveDocument.Styles("Heading 2")
.TypeParagraph
.TypeText Text:="System overview"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Tools required"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Safety precautions"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Troubleshooting steps"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Confirm possible cause"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
End With
End If
Next cause
With Selection
.Style = ActiveDocument.Styles("Normal")
.InsertBreak Type:=wdPageBreak
.Style = ActiveDocument.Styles("Strong")
.TypeText "Glossary of Phrases"
.TypeParagraph
.Style = ActiveDocument.Styles("Normal")
End With
Dim tbl As Table
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:=1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:=wdAutoFitFixed
With Selection.Tables(1)
If .Style <> "Table Grid" Then
.Style = "Table Grid"
End If
.ApplyStyleHeadingRows = True
.ApplyStyleLastRow = False
.ApplyStyleFirstColumn = True
.ApplyStyleLastColumn = False
.ApplyStyleRowBands = True
.ApplyStyleColumnBands = False
End With
With Selection
.Style = ActiveDocument.Styles("Normal")
.TypeText Text:=problem
.MoveRight Unit:=wdCell
.TypeText Text:=addcon
.TypeText Text:="System overview"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Tools required"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Safety precautions"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Troubleshooting steps"
.Style = ActiveDocument.Styles("Heading 3")
.TypeParagraph
.TypeText Text:="Confirm possible cause"
For Each cause In causeArray
If Len(cause) <> 0 Then
.MoveRight Unit:=wdCell
.TypeText Text:=Trim(cause) & "?"
End If
Next cause
End With
For Each tbl In ActiveDocument.Tables
tbl.Select
Selection.Font.Bold = wdToggle
Selection.Sort ExcludeHeader:=False, FieldNumber:="Column 1", _
SortFieldType:=wdSortFieldAlphanumeric, SortOrder:=wdSortOrderAscending, _
FieldNumber2:="", SortFieldType2:=wdSortFieldAlphanumeric, SortOrder2:= _
wdSortOrderAscending, FieldNumber3:="", SortFieldType3:= _
wdSortFieldAlphanumeric, SortOrder3:=wdSortOrderAscending, Separator:= _
wdSortSeparateByCommas, SortColumn:=False, CaseSensitive:=False, _
LanguageID:=wdEnglishUS, SubFieldNumber:="Paragraphs", SubFieldNumber2:= _
"Paragraphs", SubFieldNumber3:="Paragraphs"
Selection.Borders(wdBorderTop).LineStyle = wdLineStyleNone
Selection.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
Selection.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
Selection.Borders(wdBorderRight).LineStyle = wdLineStyleNone
Selection.Borders(wdBorderHorizontal).LineStyle = wdLineStyleNone
Selection.Style = ActiveDocument.Styles("Normal")
Next tbl
End Sub

Similar Messages

  • CSS Rollover Menu with Images and Current Page Indicator

    Hello.
    I have found a very interesting video here: http://www.youtube.com/watch?v=vv8cRYGCvIY about creating a CSS Rollover Menu with Images and Current Page Indicator (I tested it and it is working fine).
    I have a web site with 15 pages based on a template and I want to use that video sample to do the same thing on my web site.
    Please tell me if I can use the sample from the link above to do that.
    What should I change in the css file (what new class should I make) to make this work on a web site based on a template  ?
    Thank You !

    I don't know about that video tutorial but a sitewide persistent menu indicator ('you are here' highlighting) is very simple to do with CSS classes.
    Details and code examples below:
    http://alt-web.com/Articles/Persistent-Page-Indicator.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Quick Look PDF with vertical and horizontal pages

    Is there any way to make Quick Look preview a PDF file with vertical and horizontal pages without adding white padding and retaining the aspect ratio?
    Now, if I have a PDF with page 1 vertical and the other pages horizontal QL shows the latter also with the ratio of a vertical page and adds white padding at their top and bottom. You get the inverse output if the first page is horizontally oriented, but the rest are vertical.

    Word renders print jobs that change the orientation as separate print jobs. So, each print job becomes its own PDF.
    You can make an Automator workflow to combine PDFs. I’m not sure how it decides the order it combines them, so you’d have to experiment.
    This is built as an Application where you’d drop all of the PDFs onto the App icon and it will open the combined PDF where you can edit, name, and save.

  • Printing from web pages is excruciatingly slow with most recent upgrades of Firefox .Use an iMac and an HP officejet printer. Printer works fine with Safari and woodprocessed files, but not with Firefox and web pages.

    Printing from web pages is excruciatingly slow since downloading most recent upgrades of Firefox Mozilla. I have a desktop iMac, OS 10.6.8, and an HP officejet printer 4500 G510n. The printer works fine with the Safari Browser and with woodprocessed files, but not with Firefox and web pages. Help please! It used to print fast with earlier versions of Firefox.

    Hello and welcome to the Apple Discussions Forum.
    I have hardly any experience with HP printers but since your posting has not been replied to yet I thought I'd offer some assistance.
    With the printer status and ink levels working, it shows that you have a connection to the printer. So I would look at the issue being with the protocol being used for the print queue on the Mac.
    Since you have XP and Vista working, I would check the printer queue configuration on either box. In XP, go to the Properties and select Ports. Click the Configure Port tab to view the connection. If you are using RAW, then this is known as HP Jetdirect-Socket on OS X. So if you are not sure what protocol was used before I would create another printer queue, this time selecting IP > HP Jetdirect-Socket. Then enter your IP address and select the K5400dn from the Print Using menu.
    If this still fails to print then please reply. There may be limitations with adding the HP driver this way that I am not aware of. There may also be other driver options you can look at, such as HPIJS. If Greg Sahli reads this posting he has expert knowledge on this matter and will be able to offer some guidance.
    PaHu

  • Need photo management template with search and browse capability

    Dear all,
    I want to develop a photo organiser with search and browse capability as a fundemandal features. I'd like to know wether there are any source code or template available as I dont want to start from zero.
    Thanks for your help.
    Sengly

    Because i am anxious to get an answer and I am not sure which forum is the most suitable one.
    Looking forward to have some ideas from all of U. ;)

  • Report with Prompt on Home Page

    I have created a report with column prompt. I have also included this report in 'My Home Page custom report'. But when i access 'My Home Page' i dont see the Prompt, i only see the report with all columns & data. Have i skipped some step to include prompt on home page ? Thx for help

    Hi,
    When we display a report on the homepage, the Prompt is not shown instead a link will shown in place of the report stating 'Click here to Generated Analysis'.
    Even though you have the prompt on the report it will not show on the homepage, as homepage reports are usually detailed report.
    You can add filter instead of using a prompt on the report.
    Hope this helps.
    Thanks

  • PDF with portrait and landscape pages

    I have a pdf with following composition:
    - first page include a dynamic table where users can click a button to add rows (portrait orientation)
    - second page include static content (portrait orientation)
    - third page include static content (landscape orientation)
    - fourth page include static content (portrait orientation)
    The problem is that when the table grows, the second page takes the landscape orientation,
    the third page takes the portrait orientation...
    It's possible keep the settings defined for that all pages generated from dynamic table takes
    portrait orientation, and the next page (initially the third page) keeps the landscape orientation.
    Thanks in advance.

    Don't works correctly.
    Attached a pdf test.
    https://www.yousendit.com/directDownload?phi_action=app/directDownload&fl=SWhZekZuTkFuSlR2 WnBSYTA4bnVnVE9yVEh2Z0g0R2oxeStBYWNnMnpwZDBFT0FjRlZrSW9acXREaGJNUWRGeC95VVhBWnlVQndJaks5d3 JPb3F4VXprMEhnb2hUbFlaMFlDWmNBPT0&experience=bas
    Thanks!!

  • When i try to upgrade iPad, i cannot proceed with terms and conditions page

    i forgot my apple ID password when i after i upgrade my ipad. So i changed reset my password online. After i entered new password, terms and conditions page appeared, however there was no response no matter what option i choose be it agree, disagree or A and B.
    maybe i accidentally disconnected my ipad with my Mac air at that time? I was not paying attention to that. now i dont konw what i can do.
    i do not know the version of the previous system. however i updated as it pompted up that there is a new update.

    Reset iPad and continue with update.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Search rollover page number not consistent with thumb and pdf page number

    Please respond by e-mail to
    [email protected]
    Adobe Reader 9.0 and 8.1.2.
    Mac OS X 10.4.11
    Mac PowerPC G4
    640 MB SDRAM
    Does Adobe Reader have a search window phrase rollover, yellow-highlighted pop up page number bug displaying the wrong page in some circumstances?
    If Yes, how do I report that bug to get Adobe to fix it?
    Viewing the same PDF:
    MacPreview does not have the problem described below,
    Adobe Reader does have the problem.
    Adobe Reader, search phrase rollover, pops up a page number that is yellow-highlighted, e.g., p# 29, and is wrong, whereas the page number for the thumb and PDF are both the same and are correct.
    My PDF has been set on Acrobat Pro to properly paginate the first eight pages in lowercase Roman numerals (i, ii, iii, iv, v, vi, vii, viii) followed by Arabic numerals (1, 2, etc.). My PDF uses an AcrobatPro special setting to properly handle this pagination scheme. The search phrase rollover pops up a yellow-highlighted page number that wrongly adds 8 pages to the page number for the thumb and for the PDF page. Suspiciously, we have 8 pages with lowercase Roman numbers. Remember, viewing the same PDF, MacPreview works perfectly, producing identical and correct page numbers for the phrase, thumb, and PDF.

    the method u followed is fine as need a page number staring from a specify value which u input.
    @section is only for resetting page number to 1 for every group and for that pdf and ppt will be fine but only for rtf u need to use that ( pressing F9).
    u can use @section and initial page number combined but they give u same output as get now. rtf output wont support it will only reset 1 every time
    What ever u do rtf output wont support initial page number code ..........
    i mentioned that F9 work around to mention that it is the only work around u have upto now to control rtf output with regards to page number.
    Guru's correct me if i am wrong. wait for a day or two if some one from guru's confirm it .
    If u need real confirmation raise an SR oracle will let u know .

  • Navigate with MVC and XML pages

    Hi guys,
    I'm having some trouble with navigating through my app.
    Although there are lots of examples on SCN, it's probably something that I didn't pick up or I missed.
    I'm creating an app, that has an index.HTML starter file, and all others are XML.
    Index:
    jQuery.sap.registerModulePath('Application', 'Application');
    // Load your application js   
    jQuery.sap.require("Application");
    Index.js
    jQuery.sap.declare("Application");
    jQuery.sap.require("sap.ui.app.Application");
    sap.ui.app.Application.extend("Application", {
      init : function() {
      main : function() {
      // create app view and put to html root element
      var root = this.getRoot();
      var view = sap.ui.xmlview("App", "view.App");
      // set i18n model
      var i18nModel = new sap.ui.model.resource.ResourceModel({bundleUrl : "i18n/i18n_ro_RO.properties"});
      view.setModel(i18nModel, "i18n");
      view.placeAt(root);
    >  }
    App.view.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <core:View
        controllerName="view.App"
        xmlns:core="sap.ui.core"
        xmlns="sap.m"
        xmlns:mvc="sap.ui.core.mvc">
        <App id="app">
            <mvc:XMLView viewName="view.HomePage" id="idHomePage" />
            <mvc:XMLView viewName="view.Order" id="idOrder" />
        </App>
    </core:View>
    And 2 pages. HomePage and DetailPage.
    What I want is to navigate from Home to Detail. I can't use split app.
    This is the function that I'm using to do it:
    handleListSelect : function (evt) {
      var app = sap.ui.getCore().byId("App");
      app.to("Detail");
    but I get the awesome error: "Uncaught TypeError: Object [object Object] has no method 'to' "
    That means I didn't declare something right or at all ?
    Thanks in advance,
    Marius

    Hi Maria,
    Got it,
    In the App.view.xml:
    Replace the following line :
    <mvc:XMLView  viewName="view.HomePage" id="idHomePage" />
    with the following
    <mvc:XMLView  id="homePageView"  viewName="view.HomePage" />
    And Similarly,
    Replace the following line:
    <mvc:XMLView viewName="view.Order" id="idOrder" />
    with the following:
    <mvc:XMLView id="orderView" viewName="view.Order" />
    Please do let me know

  • MySQL Sytax error with master and detail pages

    Master and Detail pages.
    I get an SQL error when I click on an Item in the Master
    page.
    “You have an error in your SQL syntax; check the manual
    that corresponds to your MySQL server version for the right syntax
    to use near 'ID = 16 LIMIT 0, 10' at line 1 “
    If I try to open the detail page I get
    “You have an error in your SQL syntax; check the manual
    that corresponds to your MySQL server version for the right syntax
    to use near 'ID = -1 LIMIT 0, 10' at line 1 “
    I created this pair by simply clicking on Insert/data object/
    master detail page.
    I have tried this various ways, but always get the same
    result.
    Is there a bug in CS3?

    Sorry I have solved it myself.
    I had accidentally put a space in a table header in the mySQL
    data bank.
    All works well now.

  • Printing a document with A4 and A3 pages

    I often have documents consisting of both A4 and A3 pages.
    When I print them I would like the A4 pages to be printed double sided and the A3 pages to be printed single sided.
    How can I set Adobe reader/my printer to do this?
    Thanks!

    There is no way to do this by just choosing a setting. There is not that level of printer control.

  • Fill outline fonts with color and keep it vector

    Is there a way to fill the inside of a type that is an outline without rasterizing the font and using the paint bucket?
    The reason I need to keep it vector is because the finished graphic will be sized from 50 to 300 dpi and the edges will soften when scaled. Below is an example of the font style with two treatments. For the red fill I rasterized  the font, then used paint bucket. The other with the green behind is to show the inside transparency of the font.

    I guess the op meant upping the resolution of the document? The poster didn't say why they can't start with a document 300
    and maybe it would be better to fill the areas after upping the resolution.
    Anyway, this is a 680x480 document at 72 resolution and i did use the magic wand for the intial selection, then used quick mask to fix a few spots, contracted the selected 1px
    and then made the work path using a tolerance of 0.5. (400% view)
    path
    after color fill layer below the text layer
    upscaled to a resolution of 300 (100% view)
    after fixing the path in areas highlighted above (and a few others)
    MTSTUNER

  • Error opening a Manage Report template with Formulas and Summation

    Hi Expert,
    My j2ee web application is setup is such a way that when there is NO connectivity to the Crystal Report Server XI, it will use the Crystal Report for Eclipse functionality and opening report templates located in the relative path - This works fine.
    But when there is a connectivity to the CMS Server, I have this error when opening a manage report in Crystal Report Server XI that contains formulas and summations. But for other reports like chart and listings no problem.
    This code triggers the error:
    ReportClientDocument clientDoc = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    I found out there's a conflict between CR libraries  for Eclipse and libraries for RAS Enterprise Server XI.
    How can I solve this issue so that I can support the two scenarios - with or without CMS connectivity, I can still view reports.
    Error Stack Trace:
    com.crystaldecisions.sdk.occa.managedreports.ras.internal.a: Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed detail:Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. The exception originally thrown was com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
    Hoping for your answers.
    Regards,
    Rulix Batistil

    You must isolate the CR4E and RAS SDK jars using separate classloaders - simplest is have separate apps, if rolling your own class loaders is out of project scope.
    They do not work together.
    Sincerely,
    Ted Ueda

  • Custom Auth. Object with Profile and role assignment not working

    Hi,
    I have created custom Authorization Object with field ACTVT with allowed values - 01,02, 03. Now test it with custom program using AUTHORITY-CHECK OBJECT 'Z_AUTHORIZ' it is working fine and returning sy-subrc 12. At this point i have not created any role using this Auth Object.
    Now I have created custom role ZPM_**** and assigned above Auth object to it with value ACTVT 03. Assigned this role to user.
    When I try to test the above custom program with any ACTVT value it is giving sy-subrc as 0. Used below custom code in program.
    AUTHORITY-CHECK OBJECT 'Z_AUTHORIZ'
                ID 'ACTVT'  FIELD '01'.
    Am I missing anything? The profiles are generated correctly. 
    Best Regards,
    Nilesh

    Below are the screen shots for PFCG:

Maybe you are looking for

  • My deleted contacts still show up when I want to send a text message

    My deleted contacts still show up when I want to send a text message. But when I go to my address book there not there only when I want to send a text MSG there name comes up and if I select them it only show there number not name in the message.  Ho

  • Javabean Clients for EJBs in OC4J

    Is there anyone who has written a Javabean that accesses a EJB deployed in OC4J, doesnt have to be a structural EJB, could be any class that does it and is then used by a JSP. If so, could you please help me out. I cant seem to do that, i cant unders

  • HT4914 I-Match appears to be hung up at step 2 of the setup process.

    It's reports that most of of my songs are checked, but nothing seems to be happening past that point.

  • LR Catalog recovery?

    So I was cleaning out my Computer, and deleted one of The 200mb lightroom catalog files, since it looked like i had a bunch of them there(not smart, i know). Now when I start up LR, it cant find the right one, I oped up a backup but that one doesnt h

  • DETA IN BI7

    hi all, Can any one send the screen shots ,how set up delta in BI7.is it in infopackeg level or in DTP level.if i is in infopack level shall i need create 2 infopcks.(one for full & secon for delta) r 2 Dtps?