Exists Picture
Hi,
Is it possible to test if an picture is in de layout.
if i use : btObject = btFormat.Objects.Find("Picture1")
It workst if "Picture1" exists
and crashes if it not exists. why..........
Problem is i want to change the picture if it exists.
thanks,
0
-
Have you tried making the call in a Try...Catch statement?
http://msdn.microsoft.com/en-us/library/fk6t46tz(v=vs.71).aspx
0 -
Thanx,
i'm writing in VBA, but build a function with on error goto:
this works
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare