<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Fri, 17 Oct 2008 21:44:31 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2008-10-17T21:44:31Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>RoboHelp 5 &amp;amp; Word 2003</title>
      <link>https://forums.adobe.com/thread/233842</link>
      <description>&lt;!-- [DocumentBodyStart:94c2d2ea-1619-4830-b40e-76be1e34683e] --&gt;&lt;div class="jive-rendered-content"&gt;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. 
&lt;br/&gt;
&lt;br/&gt;However, if you go to the WebHelp directory and open the same
document no error occurs. 
&lt;br/&gt;
&lt;br/&gt;Another note - this same document works fine using Word 2007
via WebHelp. 
&lt;br/&gt;
&lt;br/&gt;Any ideas?
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;Sub EnterKeyMacro()
&lt;br/&gt;' Check whether the document is protected for forms
&lt;br/&gt;' and whether the protection is active.
&lt;br/&gt; If ActiveDocument.ProtectionType = wdAllowOnlyFormFields And
_
&lt;br/&gt; Selection.Sections(1).ProtectedForForms = True Then
&lt;br/&gt; ' Retrieve the bookmark of the current selection.
&lt;br/&gt; ' This is equivalent to the name of the form field.
&lt;br/&gt; myformfield = Selection.Bookmarks(1).Name
&lt;br/&gt; ' Go to the next form field if the current form field
&lt;br/&gt; ' is not the last one in the document.
&lt;br/&gt; If ActiveDocument.FormFields(myformfield).Name &amp;lt;&amp;gt; _
&lt;br/&gt; ActiveDocument.FormFields(ActiveDocument.FormFields.Count) _
&lt;br/&gt; .Name Then
&lt;br/&gt; ActiveDocument.FormFields(myformfield).Next.Select
&lt;br/&gt; Else
&lt;br/&gt; ' If the current form field is the last one,
&lt;br/&gt; ' go to the first form field in the document.
&lt;br/&gt; ActiveDocument.FormFields(1).Select
&lt;br/&gt; End If
&lt;br/&gt; Else
&lt;br/&gt; ' If the document is not protected for forms,
&lt;br/&gt; ' insert a tab stop character.
&lt;br/&gt; Selection.TypeText Chr(13)
&lt;br/&gt; End If
&lt;br/&gt;End Sub
&lt;br/&gt;Sub AutoNew()
&lt;br/&gt; ' Do Not protect the template containing these macros.
&lt;br/&gt; CustomizationContext = ActiveDocument.AttachedTemplate
&lt;br/&gt; ' Bind the ENTER key to the EnterKeyMacro.
&lt;br/&gt; KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn), _
&lt;br/&gt; KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"
&lt;br/&gt; ' Reprotect the document with Forms protection.
&lt;br/&gt; ActiveDocument.Protect Type:=wdAllowOnlyFormFields,
NoReset:=True
&lt;br/&gt;End Sub
&lt;br/&gt;Sub AutoOpen()
&lt;br/&gt;' This macro will reassign the ENTER key when you open an
existing
&lt;br/&gt;' Word form fields document.
&lt;br/&gt; CustomizationContext = ActiveDocument.AttachedTemplate
&lt;br/&gt; ' Bind the Enter key to the EnterKeyMacro.
&lt;br/&gt; KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn), _
&lt;br/&gt; KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"
&lt;br/&gt;End Sub
&lt;br/&gt;Sub AutoClose()
&lt;br/&gt; CustomizationContext = ActiveDocument.AttachedTemplate
&lt;br/&gt; FindKey(KeyCode:=BuildKeyCode(wdKeyReturn)).Disable
&lt;br/&gt; ' Disables prompt to save template changes.
&lt;br/&gt; Templates(1).Save
&lt;br/&gt;End Sub
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:94c2d2ea-1619-4830-b40e-76be1e34683e] --&gt;&lt;img src='/beacon?t=1415926538034' /&gt;</description>
      <pubDate>Fri, 17 Oct 2008 21:44:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/233842</guid>
      <dc:date>2008-10-17T21:44:31Z</dc:date>
      <clearspace:dateToText>6 years 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RoboHelp 5 &amp;amp; Word 2003</title>
      <link>https://forums.adobe.com/thread/28374</link>
      <description>&lt;!-- [DocumentBodyStart:310aa361-0eca-4705-8b59-c0a8392e38b4] --&gt;&lt;div class="jive-rendered-content"&gt;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. 
&lt;br/&gt;
&lt;br/&gt;However, if you go to the WebHelp directory and open the same
document no error occurs. 
&lt;br/&gt;
&lt;br/&gt;Another note - this same document works fine using Word 2007
via WebHelp. 
&lt;br/&gt;
&lt;br/&gt;Any ideas?
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;Sub EnterKeyMacro()
&lt;br/&gt;' Check whether the document is protected for forms
&lt;br/&gt;' and whether the protection is active.
&lt;br/&gt; If ActiveDocument.ProtectionType = wdAllowOnlyFormFields And
_
&lt;br/&gt; Selection.Sections(1).ProtectedForForms = True Then
&lt;br/&gt; ' Retrieve the bookmark of the current selection.
&lt;br/&gt; ' This is equivalent to the name of the form field.
&lt;br/&gt; myformfield = Selection.Bookmarks(1).Name
&lt;br/&gt; ' Go to the next form field if the current form field
&lt;br/&gt; ' is not the last one in the document.
&lt;br/&gt; If ActiveDocument.FormFields(myformfield).Name &amp;lt;&amp;gt; _
&lt;br/&gt; ActiveDocument.FormFields(ActiveDocument.FormFields.Count) _
&lt;br/&gt; .Name Then
&lt;br/&gt; ActiveDocument.FormFields(myformfield).Next.Select
&lt;br/&gt; Else
&lt;br/&gt; ' If the current form field is the last one,
&lt;br/&gt; ' go to the first form field in the document.
&lt;br/&gt; ActiveDocument.FormFields(1).Select
&lt;br/&gt; End If
&lt;br/&gt; Else
&lt;br/&gt; ' If the document is not protected for forms,
&lt;br/&gt; ' insert a tab stop character.
&lt;br/&gt; Selection.TypeText Chr(13)
&lt;br/&gt; End If
&lt;br/&gt;End Sub
&lt;br/&gt;Sub AutoNew()
&lt;br/&gt; ' Do Not protect the template containing these macros.
&lt;br/&gt; CustomizationContext = ActiveDocument.AttachedTemplate
&lt;br/&gt; ' Bind the ENTER key to the EnterKeyMacro.
&lt;br/&gt; KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn), _
&lt;br/&gt; KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"
&lt;br/&gt; ' Reprotect the document with Forms protection.
&lt;br/&gt; ActiveDocument.Protect Type:=wdAllowOnlyFormFields,
NoReset:=True
&lt;br/&gt;End Sub
&lt;br/&gt;Sub AutoOpen()
&lt;br/&gt;' This macro will reassign the ENTER key when you open an
existing
&lt;br/&gt;' Word form fields document.
&lt;br/&gt; CustomizationContext = ActiveDocument.AttachedTemplate
&lt;br/&gt; ' Bind the Enter key to the EnterKeyMacro.
&lt;br/&gt; KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn), _
&lt;br/&gt; KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"
&lt;br/&gt;End Sub
&lt;br/&gt;Sub AutoClose()
&lt;br/&gt; CustomizationContext = ActiveDocument.AttachedTemplate
&lt;br/&gt; FindKey(KeyCode:=BuildKeyCode(wdKeyReturn)).Disable
&lt;br/&gt; ' Disables prompt to save template changes.
&lt;br/&gt; Templates(1).Save
&lt;br/&gt;End Sub
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:310aa361-0eca-4705-8b59-c0a8392e38b4] --&gt;</description>
      <pubDate>Fri, 17 Oct 2008 14:01:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/28374</guid>
      <dc:date>2008-10-17T14:01:40Z</dc:date>
      <clearspace:dateToText>6 years 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

