Dim picture Dim x x = Dir(ThisWorkbook.Path & "\Images\" & picname & ".jpg") If x <> "" Then Set picture = ActiveSheet.Pictures.Insert(ThisWorkbook.Path & "\Images\" & picname & ".jpg") picture.Select End If
Dim picture Dim x x = Dir(ThisWorkbook.Path & "\Images\" & picname & ".jpg") If x <> "" Then Set picture = ActiveSheet.Pictures.Insert(ThisWorkbook.Path & "\Images\" & picname & ".jpg") picture.Select End If
Ben Van Johnson
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks