Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] dworst@gaic.com is offline
external usenet poster
 
Posts: 7
Default Word 2000 vs Word 2003 VBA odd results

I have created a Word form with buttons to update the date field and
open Outlook upon click. This form was created in Word 2003. The
buttons have VBA behind them to complete these tasks.

My problem is that when you open it with Word 2000 and click one of
the buttons it is picking up the vba code for one of the other buttons
in the table. For example, my date button is picking up my code for
Send Mail button.

I have never seen this before. Has anyone every had this occur? How
do I fix it to work with both versions?

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
alborg alborg is offline
external usenet poster
 
Posts: 67
Default Word 2000 vs Word 2003 VBA odd results

I take it that you are using CommandButtons that are located on your form? If
so, the underlying code should match the CommandButton name... i.e.
CommandButton9 will correspond to the following event:

Sub CommandButton9()

End Sub

There are some issues with the use of UserForm CommandButtons, in which you
have to "Unload UserForm1" right at the beginning of the code execution in
Word 2000, otherwise things will continue to point to the UserForm in Word
2000 (but not in Word 2003). A macro to manipulate a graph event gave me
problems a few days ago (see the last post here-
http://www.emrupdate.com/forums/t/9106.aspx).

Cheers,
Al

" wrote:

I have created a Word form with buttons to update the date field and
open Outlook upon click. This form was created in Word 2003. The
buttons have VBA behind them to complete these tasks.

My problem is that when you open it with Word 2000 and click one of
the buttons it is picking up the vba code for one of the other buttons
in the table. For example, my date button is picking up my code for
Send Mail button.

I have never seen this before. Has anyone every had this occur? How
do I fix it to work with both versions?


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I open protect word created from Word 2003 in Word 2000? benbeljung Microsoft Word Help 1 January 17th 07 10:18 AM
Word 2000 vs 2003 rreneerob Microsoft Word Help 2 May 30th 06 10:28 PM
Summary Test Results for Microsoft Office 2003 Microsoft Office 2003 New Users 5 March 6th 06 09:58 PM
Word 2000 vs 2003 Alydeano Microsoft Word Help 1 February 23rd 06 01:26 AM
Word 2000 vs 2003 Daniel Microsoft Word Help 0 November 3rd 05 09:06 PM


All times are GMT +1. The time now is 11:57 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"