Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to show a form only when the property fields are in an empty string or null state. I am stumbling on the "Date" fields accepting null state. I have attached the code that I have assembled thus far, my error comes from the "creation Date" line.
If ThisDoc.Document Is ThisApplication.ActiveDocument AndAlso iProperties.Value("Summary", "Title") = "" Or iProperties.Value("Summary", "Author") = "" Or iProperties.Value("Project", "Designer") = "" Or iProperties.Value("Project", "Creation Date") = Null Or iProperties.Value("Custom", "Drawing Number") = "" Then iLogicForm.Show("Model iProperties") End If
Solved! Go to Solution.