RoboHelp 5 & Word 2003

Below is a macro, which disables the enter key while
completing a form, that is contained within a 2003 Word Document.
When the document is opened through WebHelp this error is produced:
Runtime error 4605 : This command not available.
However, if you go to the WebHelp directory and open the same
document no error occurs.
Another note - this same document works fine using Word 2007
via WebHelp.
Any ideas?
Sub EnterKeyMacro()
' Check whether the document is protected for forms
' and whether the protection is active.
If ActiveDocument.ProtectionType = wdAllowOnlyFormFields And
Selection.Sections(1).ProtectedForForms = True Then
' Retrieve the bookmark of the current selection.
' This is equivalent to the name of the form field.
myformfield = Selection.Bookmarks(1).Name
' Go to the next form field if the current form field
' is not the last one in the document.
If ActiveDocument.FormFields(myformfield).Name <> _
ActiveDocument.FormFields(ActiveDocument.FormFields.Count) _
.Name Then
ActiveDocument.FormFields(myformfield).Next.Select
Else
' If the current form field is the last one,
' go to the first form field in the document.
ActiveDocument.FormFields(1).Select
End If
Else
' If the document is not protected for forms,
' insert a tab stop character.
Selection.TypeText Chr(13)
End If
End Sub
Sub AutoNew()
' Do Not protect the template containing these macros.
CustomizationContext = ActiveDocument.AttachedTemplate
' Bind the ENTER key to the EnterKeyMacro.
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn), _
KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"
' Reprotect the document with Forms protection.
ActiveDocument.Protect Type:=wdAllowOnlyFormFields,
NoReset:=True
End Sub
Sub AutoOpen()
' This macro will reassign the ENTER key when you open an
existing
' Word form fields document.
CustomizationContext = ActiveDocument.AttachedTemplate
' Bind the Enter key to the EnterKeyMacro.
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn), _
KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"
End Sub
Sub AutoClose()
CustomizationContext = ActiveDocument.AttachedTemplate
FindKey(KeyCode:=BuildKeyCode(wdKeyReturn)).Disable
' Disables prompt to save template changes.
Templates(1).Save
End Sub

Hi Carolyn
Yes, I'm fully aware that WebHelp is an output option
available from RoboHelp for Word. The point is, it's a bit like
using a Cooper Mini to haul concrete to a construction site. In
other words, you can do it, sure. But if you do, you are subject to
limitations. You are creating HTML from a product designed to work
with Word. And Word was created for printed output. Anything else
is a hack and not within the guidelines of its original intent.
Like building a room onto a mobile home. So my reference to
RoboHelp HTML was intended to coax you into examining a more
suitable tool for the job that will likely provide a better result.
I suppose I read your post with a bit of tongue in cheek
humor. Especially the bit about Adobe putting out a product that
just doesn't work. We have to face realities. And one of those
realities is that software (any software) has quirks.
As you seem to be having issues making RoboHelp for Word
behave, I might assume (perhaps mistakenly) that the previous
person was using RoboHelp HTML.
Good luck in getting it all sorted... Rick

Similar Messages

  • RoboHELP 6 Crashes When Importing Word 2003 File

    Discovered this today by accident (after modifying a Word
    2003 file that I was previously able to import to "test" Help files
    using both RH HTML and RH for Word (both V6) and thought I'd report
    it because it appears to be a bug:
    If you select the following option in the Word file that you
    are importing, RoboHelp will crash during the import:
    Tools, Options, General tab, Web Options, Files tab,
    Organize supporting files in a folder
    When you do the Import Word file action from RoboHelp, it
    starts the import then issues a Microsoft C++ Debug Library message
    box that says:
    Debug Error!
    Program: C:\Program Files\Adobe\RoboHelp
    6.0\RoboHTML\RoboHTML.exe
    abnormal program termination
    (Press Retry to debug the application)
    Abort Retry Ignore
    Doesn't matter what you select. RoboHELP crashes and the Word
    file is not imported.
    Wanted to report this here in case someone else runs into
    this. It cost me a lot of time today.
    KC

    Hi Peter
    Thank you for the suggestion. I created a new project, new
    folders, imported the files a few at a time & compiled it each
    time (with one build tag in it) and found that only two files made
    it crash. On the one file, I removed the tables (which had no
    merged cells) from the project and it worked. The other file was
    removed completly and I will re-do that page.
    I then opened my current project (with all links &
    pictures etc TOC working) and imported the changed file and removed
    the other file and wala....I have a useable project.
    The project was on our own software so unfortunately I would
    not be able to share it.
    Being a relativley new (1.5 yrs) user, I find running into
    bugs are brutal....Thanks for all your help.

  • Help file fails to generate RoboHelp 7 and Word 2003

    Hello, I am back again with a new struggle.  I am creating a WinHelp4 file for an older application using Word 2003 and Robohelp 7.  There are several different results regardless of whether I make updates, corrections, add jumps, change Topic IDs or do nothing when I click on generate:
    1.  sometimes it generates and works perfectly, just not very often, usually between 8 and 805am ET.
    2.  sometime it will generate an error:  Failed to compile
    3.  another error:  filename.rtf does not exist, but it is there in the folder
    4. generates a Warning, but I don't know what the warning is as it does not show it
    5. generates a blank Help with only a single glossary definition
    6. not enough memory ( 1 gb is available)
    7. corrupted file, rerun and it works...sometimes
    I have:
    1. Started over
    2. Rebooted
    3. Uninstalled and reinstalled RoboHelp 7 and all updates
    4. Tried adding one item (jump, new topic, changed topic, updates to TOC, renamed anything) at a time and then generated file
    5. Create an html from Word...I know silly but it worked some of the time.
    I feel like there must be a setting error I missing or something hidden that I need to remove.  There is something or a very big bug! I can't find anything and RoboHelp 7, Word 2003 and creating Winhelp4 files have been fine the last 2 months...now...not so fine.
    Please help!  I am so close to finished!
    Thanks,
    and if this isn't enough, I cannot generate a print to PDF either, but used to!

    I wish I could try on a different PC.  This is a government facility and that is not an option.  There are only 2 of us who have RH and I think the other person may have left last week...what luck!
    As far as anything else running, that is possible....I may try disconnecting the network and see if it will work...that should check it, right?
    Background resources are very probable as their are virus scanners and who knows what else...my rights are very limited, no Admin rights to the machine.
    It just amazes me that it has worked and now at the very final stage and updates it will not.  I am in early when it usually works, 745a ET and it failed.  These are the error messages and I usually get this type:
    Warning - HC4004: datcap.rtf is not an RTF (Rich Text Format) file.
    Warning - HC4009: The Topic ID "Data_Capture_Operations" specified in the Project files as the Default Topic does not exist.
    What is odd, is they are both there and have worked consistently up until this recent failure....cannot complile.
    I know this is long, but here is the notpad error:
    Starting compilation...
    WinHelp preprocessor 7.01.002
    Compiling C:\Documents and Settings\jkmalone1\My Documents\My RoboHelp Projects\CRS On Line Help Individual\DATCAP\!SSL!\WinHelp_4\DATCAP.hlp ...
    Preparing to create WinHelp...
    Clearing output folder...
    Filtering out conditional text...
    Processing DATCAP.rtf...
    Processing DATCAP.rtf...
    Removing watermarks...
    Processing DATCAP.rtf...
    Collecting Topics' Information...
    Processing DATCAP.rtf...
    Removing broken jumps...
    Finished preparing in 4 sec(s)
    Generating WinHelp system...Microsoft (R) Help Compiler
    HCRTF 4.03.0002
    Copyright (c) Microsoft Corp 1990 - 1995. All rights reserved.
    Datcap.hpj
        HC4004: Warning:
    datcap.rtf is not an RTF (Rich Text Format) file.
        HC4009: Warning:
    The Topic ID "Data_Capture_Operations" specified in the Project files as the Default Topic does not exist.
    3 Topics
    0 Jumps
    0 Keywords
    0 Bitmaps
    Created C:\DOCUME~1\jkmalone1\Local Settings\Temp\RHTemp12\Datcap.hlp, 13,205 bytes
    Compile time: 0 minutes, 0 seconds
    0 notes, 2 warnings
    Finished compiling WinHelp in 6 sec(s)
    Compilation complete.
    WinHelp (WinHelp 4) was built successfully:
    C:\Documents and Settings\jkmalone1\My Documents\My RoboHelp Proj
    There has to  be something causing this...it ran quickly this am but failed with the above Warning errors.  The file is not successful although it built a sort of Help...one definition of one word....and nothing else.
    Suggestions:
    Thank you for taking an interest...this has me so puzzled.

  • Importing tables from Word 2003 into Robohelp for word ^

    Does anyone know how to import tables and boxex from Word
    2003 nicely into Robohelp 6

    You can capture the table from your original word.doc and
    save the image as either a bmp or gif file. In robohelp, insert the
    picture where you want it to be located at. Have the table act as
    an image.

  • Do you know if it's possible to generate Word 2003 files from RoboHelp if we're using Office 2007 and RoboHelp 2007?

    Do you know if it's possible to generate Word 2003 files from
    RoboHelp if we're using Office 2007 and RoboHelp 2007? We are
    thinking of upgrading, but have customers that would still require
    Word 2003 formats because they won't have 2007 installed.
    Thanks!

    Hi NewtoRobohelp
    Unfortunately I don't have Office 2007 in front of me to test
    with. But I'm thinking that as long as Office 2007 still produces
    the same formats as 2003, you could do it this way.
    From RoboHelp 7 and using Office 2007, generate Printed
    ouptut. Open said printed output in Office 2007 and perform a Save
    As. Save the document as a RTF (Rich Text Format) document.
    RTF is more universal. So I'm thinking this may be a possible
    way around it. There is also the possibility that Word 2007 offers
    up an ability when saving a file to save in an older format.
    Cheers... Rick

  • RoboHelp 7 - Most Images Missing of Word 2003 Output

    Does anyone know why my images would stop being displayed 100
    pages into a 500-page Word 2003 document? Instead of images (after
    this point), all I see are tiny green squares. This is after
    waiting for images to load and formatting the document.

    Hi Peter,
    I came across this fix, but when I selected the link to
    document option, RH7 froze during the "Generating Printed
    Documentation" process. I can't get it to cancel now. Strange.
    1. Create the document in RoboHelp and choose the "Link to
    Document" check box.
    2. In Word click Edit | Links.
    3. In the dialog select all the files.
    4. Tick the "Save pictures in Document" check box.
    5. Click OK.
    This problem is fixed in Adobe RH7 with update 7.01.001
    applied.

  • Robohelp Word quits generating HTML Help after 2 MB of images

    Hi, I'm trying to evaluate RoboHelp for Word 8 for my company. I'm using the trial version of RoboHelp 8 for Word. In the process of building the contents for the hep files in the Word document I insert images via the Insert -> Picture -> From File menu in Word. After I've inserted about 2 mb of images RoboHelp hangs when I run RoboHelps File -> Generate Primary Layout, for MS HtmlHelp, from the menu. The Output compiler just basically hangs with the following:
    Starting compilation...
    Clearing output folder...
    Starting compilation...
    I found the image at the border of the size limit and delete it and am able to generate the output. I can also replace it with a much smaller image and can generate the output.
    This seems awfully strange to me, 2MB is nothing. We're using mostly JPG image and two small GIFs. Could this be just a problem with the trial version of RoboHelp 8 or maybe RoboHelp wants images inserted into Word in a different way?
    Thanks, I appreciate any information you can provide me.

    Thanks Peter, I just tried RoboHelp HTML, you're right it works great linking to the word file! The CHM didn't come out as a standard Help file, everyting came out in a flat file instead of the different books, TOC and subtopics.
    We're just using Word 2003. I figured out how to do it in Robohelp Word. You save the images as BMPs using Image Workshop. Then in the topics you use the Word Menu: Edit  -> Paste Help Image and that shows up as a tag in the Word topic.
    Thanks, I think I'll just go with the second way and get it done so I can get on with other things.

  • Word 2003 Import - TOC Issue

    I have a problem when importing docs into RoboHelp HTML X5.02
    from Word 2003.
    The TOC generates with the correct structure based on the TOC
    from my document, but the generated Topics are not linked to the
    TOC books/pages that have been created.
    I am having to use the Topic > Properties > Find Topic
    dialogue and paste the topic title into the Topic Search field to
    manually find and match all the TOC Topics.
    The problem seems to have started when I began importing docs
    in languages other than English. Now it applies to English as well.
    I have found that I can intermittently import docs
    successfully if the doc content is all set to US English language,
    and the doc is imported from the RoboHelp starter, rather than from
    RoboHTML. Even so this doesn't seem to function consistently.
    Does anyone have any ideas? I am generating large Projects in
    4 languages, and matching all the Topics manually is becoming a
    serious issue.

    I forgot to mention the last column has some trailing spaces in the first row.

  • Missing images in output to Word 2003

    When I embed the images in the printed doc output, they show
    up in the word 2003 doc as a box with an X in it. Why? I have tried
    bumping up the virtual memory on my machine - that didn't solve it.
    If I "link" the images, they show up, but I cannot link the images
    in this document. Please help.

    Figured out a work-around.... Create the document in RoboHelp
    and choose the "Link to Document" check box. When you view the doc
    for the first time (it only works if the doc has not been saved) in
    Word, click the Edit, Links menu. In the dialog select all the
    files and check the "Save pictures in Document" check box. This
    works, I tested it by going to another machine that does not
    contain my help files and all the pictures were displayed
    Not perfect, but it will get you there.

  • RH8 for Word 2003. Runtime Error 5152: Cant move focus to control

    Hi, I am trying to open a word file from the RoboHelp source files and am getting the following error:
    Runtime Error '5152': Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    I am using Word 2003 and RoboHelp 8. I didnt not change anything in the code, its a RoboHelp provided code. RH was installed with my netword id and with admin rights. When I click debug, it highlights the following piece of code.
    Private Function IsRoboHookLoaded() As Boolean
        IsRoboHookLoaded = False
        ' No addins, not loaded
        If (AddIns.Count = 0) Then
            GoTo IsRoboHookLoadedExit
        End If
        For i = 1 To AddIns.Count
            AddInName$ = LCase$(AddIns.Item(i).Name)
            If (AddInName$ = "robohook.wll") Then
                If (AddIns.Item(i).Installed = True) Then
                    IsRoboHookLoaded = True
                    Exit For
                End If
            End If
        Next
    IsRoboHookLoadedExit:
    End Function
    Also, when I click end and try to close the Document, I get another error:
    Runtime Error '5152': Method 'Name' of Object 'AddIN' failed.
    It again highlights the same piece of code on debug.
    Can you please suggest why this might be so?
    Thanks in advance.
    - Shubs

    The formatting is lost if the robohelp.dot template is not present in the same folder as the word document I am trying to open (and edit). The template is still present under application data\templates. Below are your answers:
    So if you have the robohelp.dot in the application data\templates folder and open the project and the doc, the fomatting is gone in the doc and it is is plain text, correct? - Yes
    Are any styles attached to the text at all? - Yes
    For instance if you highlight what was a heading 1, is it still heading 1? - Yes - It still shows as heading 1, but not as big and coloured as the headings in documents with robohelp.dot
    if you create a new help project, do you run into the same problem? - Yes
    I tried copying the styles from robohelp.dot to my document, but still it doesn't reflect the changes.
    I want to be able to open the document (with the robohelp template and its styles attached to it) and edit it, without changing any styles/formatting.
    I am not an expert on this but my feeling is it has something deeper to do with other than just the location of the template or the styles. There should be a reason for  the runtime error 5152: "Can't move focus to control....".

  • Word 2003 vs. Word 2007

    Hi everyone - I've been running Office 2003 on my laptop, but since I sync-ed my Pearl, whenever I start Word it puts me into "compatibility mode", which somehow forces me to work on my '03 docs in '07.  Any idea how I can go back to using Word '03 only?
    Thanks,
    Susan

    Hi Peter,
    Can you please jot down the link to your site so I can read Snippet 82? I'm having trouble with RH7 recognizing MS Word 2003. I only have the one version of Word, but when I attempt to generate a Printed Document, I receive an odd error message that RoboHelp cannot find MS Word.
    Thanks!!
    Tabby W.

  • Word 2003 fix

    Does anyone kno the exact fix I need to run word 2003? My
    version of RoboHelp is V.9.20.566
    Thank you in advance Steve

    Welcome to the forum.
    Sorry Steve but there is no fix. The first version of RH that
    will run with Word 2003 is X5 and that requires a patch as X5 was
    launched shortly before Word 2003. There are no fixes for earlier
    versions.
    Either you will need to upgrade RH or run two versions of
    Word as described on my site.

  • Word 2003 Runtimeerror 5

    If Robohelp try to start Word 2003 the word vba runtime error
    5 occur.
    After that robohelp blow away. I have installed robohelp with
    admin rights.
    Robohelp HTML works fine

    Hello Mx_Jan
    Sorry to take so long getting back to you - ill health is a
    restriction
    The fact that the message refers to an invalid argument or
    procedure ponts to a macro failing. These are normally part of an
    add-in. Were there any add-ins in the list (not templates)? If so,
    uncheck each in turn until you find the offender.
    Also check what Office updates were applied just before the
    problem occurred. unistall the updates at that point; you can
    always update again later. another option is to restore your system
    to a checkpoint prior to the problem occurring.
    Let us know how you get on.
    Regards,
    Brian

  • WinHelp 2000 with Word 2003

    My company asked me to learn Robohelp and create a document,
    so I learned from Adobe Robohelp 6 but they supplied me with
    Macromedia X5. The HTML part works fine, but I need to create a
    Winhelp 2000 hlp. output. When I import Word documents into Winhelp
    2003, it spews out error messages, jumbles exhibits and headings,
    and created Topics and Mid-topic IDs at random--that is, when it
    doesn't lock up completely. Am I missing something? I downloaded
    updates, so it should work with Word 2003, but its lack of function
    is appaling. I have lost days trying to install and then debug this
    software on this and am desperate. Is there a fix or a workaround?
    I have downloaded a converter for chm to hlp, but it doesn't
    output with the proper skin. Help! (And thanks)

    Hi
    Microsoft offers a compatibility pack for earlier versions of Office  that allows, for instance, Word 2003 to open Word 2007 documents. More  info:
    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3
    http://office.microsoft.com/en-us/word-help/open-a-word-2007-document-in-an-earlier-versio n-of-word-HA010044473.aspx
    There will be some Docx features that behave differently or are  substituted when opened in Word 2003. These are listed in the second web  page link.
    Regards,
    Sarabjit Singh
    QE Lead, Acrobat.com

  • Intro and Font Issue w/ Word 2003

    Hey everyone, I'm new to the board here and looks like
    there's quite a bit of good info here.
    If this has been covered already somewhere, I'd like to check
    out the thread.
    The machine I'm working with is set up with Windows 2000,
    Office 2003 (with the Word 2003 fix), updated to RoboHelp X5.0.1.
    I'm generating Win2000 help that just insists on using Times
    New Roman font in the resulting help file no matter what I do.
    Every font I change in the style in Word keeps on invading my help
    file as Times. I've messed around with the templates to no avail.
    I've copied the Robohelp.dot template into another directory
    and changed it, and that did nothing. I've also changed Normal.dot
    to see if that does anything, and am still coming up with Times New
    Roman in my help file.
    "Automatically Update Styles" is not checked underneath the
    document template file selection field, so my style changes appear
    to be sticking with the Word document when I close and re-open it.
    Any suggestions? Thanks!

    Welcome to the forum.
    Take a look just a little further down from your post and see
    the thread Wrong Font etc.
    There's a summary on my site.
    Click
    here.

  • RoboHelp/Word 2002: Topic Titles/ID Automatically Changing and an Unregistered Routines Message

    I’m posting a problem/solution that my team ran into
    recently in hopes that it will save other people time if they find
    it also.
    Problem:
    I have a Help project created on an XP machine, using
    RoboHelp Classic, with Word 2002. There are over 1500 topics in the
    project, It is compiled as Webhelp, contains 1,667 objects, and is
    22.8 MB in size.
    While working in my project this week, I noticed 4 of my
    topics in the RoboHelp Explorer view suddenly had a prefix of
    "placeCity" in front of the topic title. It only appeared in the
    explorer view and the Properties dialog, but not in the document or
    topic itself. When I tried to change the topic title in the
    Properties dialog and save, it acted like it saved, but when I
    looked in the explorer view, they still had the strange, new
    prefix. Then I noticed approximately 6 or 7 topics had the words
    "State" and "stockticker" added to the topic IDs which showed up as
    broken links. But when I looked at the compiled Webhelp file names,
    they looked normal.
    I exited RoboHelp. When I went back in, I received the
    following message: "RoboHelp Explorer has detected that there are
    unregistered routines used by the following features in this
    project. -Html Topics or hotspot links to Html pages displayed in
    the Help window. -Link to a Html page, displayed in the browser. Do
    you want RoboHelp to make the necessary updates?"
    I never saw this message before so I selected Yes. (This
    message also appeared to another user on our network, crashed their
    computer, but their project was fine afterwards – they were
    using a Word 2003). I don't know if selecting Yes stopped any more
    chances of RoboHelp automatically renaming topic titles and topic
    IDs or what it did. I was afraid I might have a virus, so I spent a
    whole day running virus/spyware software. The results found NO
    virus but I did have some Malware which I removed. I didn't know if
    this caused my problem with RoboHelp or not.
    Solution:
    We had other users guide us that it could be similar to the
    font problem (with KB917334) that people were currently running
    into. We checked and found a Microsoft patch had been loaded around
    the time that our problems started: KB917335 for Word 2002. We
    deleted the patch, rebooted the system, deleted all of the rtf
    files from project, and then started RoboHelp. All issues were
    corrected. We have now turned off automatic updates to that
    computer until our release has gone out.
    Text

    OK and thanks very much for checking that the HTML output is
    not affected by this problem. At the moment all I can say is that
    Adobe are looking into it but I don't know what they have found
    yet.
    Changing the help type might not make you the most popular
    person. I cannot say how much work it is but it's not a five minute
    task. The problem your company has though is the winhelp has this
    problem and at the moment you cannot get around it, assuming you
    have tried all the suggestions that have been posted. That may mean
    that there is little option but to go down the CHM route.
    The only other thing that comes to mind is whether this
    problem is RH related or Help Compiler related. If it is exclusive
    to RH generated winhelp, then maybe some other tool is an option.
    If it is Help Compiler related, it won't matter what tool you use.
    Have you tried creating another project to see if you can
    change topic ids in that? Has anyone else come across this problem?

Maybe you are looking for

  • How to print from a macbook to a shared printer hook up to pc

    Hi, How I could be able to print wireless from my macbook to a shared printer hook up to a pc. The printer is a DELL 1320C and the pc is a DELL Inspiron. Please help me out with this issue. I do all my stuffs in my mac and when I to print my job, I g

  • How do I transfer data from a blackberry to an iPhone?

    My partner is getting rid of Blackberry and moving to iPhone 4S. is there a way to transfer contacts and calendar from an exchange server? Thanks

  • Windows Server 2008 x64 on T61P?

    Hi Everyone, Just got my T61P with Vista x64 pre-installed - love my Thinkpad!   However, like just about everyone on the planet I'm disappointed with Vista and would like to install Windows Server 2008 x64 Standard (no hyper-v) just like on my offic

  • Need help with installing on Photosmart C7280 all-in-one

    I did have my printer installed, and was using the printer for 3 laptops wireless within my home.  Now I can not even find my Backup disk, so i need help with downloading the software to use my printer, and also get it back to being used wireless.  

  • Trying to cancel my membership but it won't cancel.

    Trying to cancel my membership but it is saying I need to contact customer support which I have and I am doing everything they say and it still won't cancel. It is very annoying, I have tried all the links from the other responses and it still will n