GoodmanJim
Board Regular
- Joined
- Aug 24, 2003
- Messages
- 90
I want to check to see if I have valid variable file address for the picture. If valid I want to insert picture on worksheet. If invalid I want to insert a picture from another work sheet.
Dim myPicture As String
Dim pic As Picture
Set r = Selection 'Range("200")
'error check on PicPath
'set pic = ActiveSheet.Pictures.Insert(PicPath) > 0 then GoTo nopic
Set pic = ActiveSheet.Pictures.Insert(PicPath)
Dim myPicture As String
Dim pic As Picture
Set r = Selection 'Range("200")
'error check on PicPath
'set pic = ActiveSheet.Pictures.Insert(PicPath) > 0 then GoTo nopic
Set pic = ActiveSheet.Pictures.Insert(PicPath)