Thread: [Solved] Runing a Macro Before Save
View Single Post
 
Old 09-24-2018, 05:10 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You have a mix of an in-line statement with another on the next line. You should have:
Code:
Else
    Label1 = "FAIL"
    Label1.ForeColor = &HC0&
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote