A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners


Thread Tools Display Modes
Old July 22nd 19, 06:21 PM
ImNew ImNew is offline
Junior Member
First recorded activity by WordBanter: Jul 2019
Posts: 1
Default MsgBox

Hi. Word2016 VBA MsgBox macro for a new customer template form.

I inserted the following macro in the Developer-module which is functioning properly after I select Run Sub/UserForm (F5)

Sub zzMsgBoxOkayWithWarningIcon()

' Inform User to input data in all shaded fields

MsgBox "Input mandatory data in all shaded fields", vbOKOnly + vbExclamation

End Sub

So my question is, how do I get the word template I created with “Table” feature to show zzMsgBoxOkayWithWarningIcon MsgBox when the user clicks on the first shaded field?
Old September 2nd 19, 05:22 PM
integral integral is offline
Junior Member
First recorded activity by WordBanter: Sep 2019
Location: Cromford
Posts: 1

I'm not 100% but try looking for onclick() functions

Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
msgbox prompts? jatman Microsoft Word Help 3 May 17th 08 05:37 AM
MsgBox during merge Kathy Webster Mailmerge 7 May 18th 07 07:47 AM
MsgBox Bold Property? A.Sorto Microsoft Word Help 2 March 29th 06 04:09 AM

All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2004-2021 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.