Help!

docm files opened in Word 2003 don't work

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Document Management RSS
Next:  outlook profiles have invalid characters, unable ..  
Author Message
Paul1066
External


Since: Oct 30, 2009
Posts: 2



PostPosted: Fri Oct 30, 2009 11:34 am    Post subject: docm files opened in Word 2003 don't work
Archived from groups: microsoft>public>word>docmanagement (more info?)

Excuse me if this question has already been answered. I have word document
that was created in Word 2003 that has a button control on it with VBA behind
the click event of the button. I have loaded this document in Office 2007
and the button works with no issues. I have saved it as a docm file and
Office 2007 can still open it and the button works. When I open the docm
document in Word 2003 with the compatibility pack installed the button is not
longer a button but a picture which is not longer attached to the VBA code.
The VBA code still exists in the document it is just that the button does not
convert to a button from docm to doc. Is there a reason for this?
Back to top
Jay Freedman
External


Since: Sep 16, 2003
Posts: 2317



PostPosted: Fri Oct 30, 2009 2:58 pm    Post subject: Re: docm files opened in Word 2003 don't work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry, that's just one of the decisions Microsoft's developers made about
how the Compatibility Pack would deal with Office 2007 files. I can't defend
it, since I don't know the technical details involved.

It appears you have two alternatives. The less attractive one is to re-save
the document from Word 2007 in Word 2003 format; at least in my test, that
kept an operational command button in the document.

The better alternative is to replace the command button with a macrobutton
field (http://www.word.mvps.org/FAQs/MacrosVBA/AssignMacroToButton.htm) and
move the code to a subroutine in a regular module (in the VBA editor, select
the document and click Insert > Module). The name of the macro goes in the
code of the field. You can also make it so the macrobutton field needs only
a single click; see "Double-click or single-click" in
http://www.word.mvps.org/FAQs/TblsFldsFms/HLinksInForms.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Paul1066 wrote:
> Excuse me if this question has already been answered. I have word
> document that was created in Word 2003 that has a button control on
> it with VBA behind the click event of the button. I have loaded this
> document in Office 2007 and the button works with no issues. I have
> saved it as a docm file and Office 2007 can still open it and the
> button works. When I open the docm document in Word 2003 with the
> compatibility pack installed the button is not longer a button but a
> picture which is not longer attached to the VBA code. The VBA code
> still exists in the document it is just that the button does not
> convert to a button from docm to doc. Is there a reason for this?
Back to top
Paul1066
External


Since: Oct 30, 2009
Posts: 2



PostPosted: Tue Nov 03, 2009 12:29 pm    Post subject: Re: docm files opened in Word 2003 don't work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you, that worked.

"Jay Freedman" wrote:

> Sorry, that's just one of the decisions Microsoft's developers made about
> how the Compatibility Pack would deal with Office 2007 files. I can't defend
> it, since I don't know the technical details involved.
>
> It appears you have two alternatives. The less attractive one is to re-save
> the document from Word 2007 in Word 2003 format; at least in my test, that
> kept an operational command button in the document.
>
> The better alternative is to replace the command button with a macrobutton
> field (http://www.word.mvps.org/FAQs/MacrosVBA/AssignMacroToButton.htm) and
> move the code to a subroutine in a regular module (in the VBA editor, select
> the document and click Insert > Module). The name of the macro goes in the
> code of the field. You can also make it so the macrobutton field needs only
> a single click; see "Double-click or single-click" in
> http://www.word.mvps.org/FAQs/TblsFldsFms/HLinksInForms.htm.
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup so
> all may benefit.
>
> Paul1066 wrote:
> > Excuse me if this question has already been answered. I have word
> > document that was created in Word 2003 that has a button control on
> > it with VBA behind the click event of the button. I have loaded this
> > document in Office 2007 and the button works with no issues. I have
> > saved it as a docm file and Office 2007 can still open it and the
> > button works. When I open the docm document in Word 2003 with the
> > compatibility pack installed the button is not longer a button but a
> > picture which is not longer attached to the VBA code. The VBA code
> > still exists in the document it is just that the button does not
> > convert to a button from docm to doc. Is there a reason for this?
>
>
> .
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Document Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum