![]() |
#1
|
|||
|
|||
![]()
Hello,
I'm trying to have a message box displayed if a box is ticked. Currently, if the box is ticked is displays text within the word doc- see code If Me.chkVisa = True Then Selection.GoTo What:=wdGoToBookmark, Name:="VisaHeader" Selection.TypeText "28. Visa Sponsorship" Selection.GoTo What:=wdGoToBookmark, Name:="VisaText" Selection.TypeText "As an employee from outside the European Union you will require to have a company sponsored visa before commencing employment. The company will work with an appointed immigration specialist to ensure the correct clearance to work in the United Kingdom." Selection.GoTo What:=wdGoToBookmark, Name:="VisaText2" Selection.TypeText "On completion of your probationary period, were you to leave the company within 24 months of your visa start date you will be required to pay back a percentage of the costs associated with obtaining the company sponsorship visa." End If I also want it to display a pop up message. I had written something like this but it doesn't work- Private Sub Messagebox() If Me.chkVisa = True Then MsgBox ("Hello") End If End Sub Thanks Ross |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem opening Outlook Today. Error Message: Cannot display the folder. Cannot find this file. Veri | atwnsw | Outlook | 0 | 11-01-2015 05:05 PM |
How to Display Arrow for Drop Down Lists in Message Body | hue2 | Outlook | 0 | 03-20-2015 12:24 PM |
Pivot Table Question- Can the table display in the order the boxes were checked/selected? | blackjack | Excel | 0 | 09-13-2014 08:57 PM |
Option Button selected will display text | ksigcajun | Word VBA | 7 | 07-14-2014 09:31 AM |
Display paragraph of text based on value selected in combo | WordWaza | Word | 0 | 08-09-2013 06:30 AM |