S
sunilpatel
Hi how do you insert picture if you only know the filename not the extention
Pic$ is a six digit code, but the file if it exists can be .bmp, .gif, .jpeg
, .jpg
I want to insert if exists regardless of picture type.
Please help
Thanks
sunil
I have...
If Dir(Path$ & Pic$) <> "" Then
ActiveSheet.Pictures.Insert(Path$ & Pic$).Select
Endif
Pic$ is a six digit code, but the file if it exists can be .bmp, .gif, .jpeg
, .jpg
I want to insert if exists regardless of picture type.
Please help
Thanks
sunil
I have...
If Dir(Path$ & Pic$) <> "" Then
ActiveSheet.Pictures.Insert(Path$ & Pic$).Select
Endif