PC Review


Reply
Thread Tools Rate Thread

docm files opened in Word 2003 don't work

 
 
Paul1066
Guest
Posts: n/a
 
      30th Oct 2009

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?
 
Reply With Quote
 
 
 
 
Jay Freedman
Guest
Posts: n/a
 
      30th Oct 2009
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/Macros...roToButton.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/TblsFl...nksInForms.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?



 
Reply With Quote
 
Paul1066
Guest
Posts: n/a
 
      3rd Nov 2009
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/Macros...roToButton.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/TblsFl...nksInForms.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?

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Word 6.0 files to work in Word 2003 =?Utf-8?B?Um9nZXJFbGxtYW4=?= Microsoft Word Document Management 3 28th Mar 2011 05:27 PM
Converting old files to work in Word 2003 Rick E Microsoft Word Document Management 1 6th Dec 2008 04:25 AM
Opening XLSM and DOCM files through I.E. 6.0 =?Utf-8?B?Tm9tYWQ=?= Windows XP Internet Explorer 1 23rd Aug 2007 02:03 AM
I cannot open DOCM files =?Utf-8?B?SFRheWxvcg==?= Microsoft Word Document Management 2 6th Apr 2007 07:02 PM
Word 2003-where do you get the work folder icon to put files? =?Utf-8?B?bGw=?= Microsoft Word Document Management 1 18th Oct 2006 10:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 PM.