ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how i add picture in excel using vb6.0 at runtime (https://www.excelbanter.com/excel-programming/335858-how-i-add-picture-excel-using-vb6-0-runtime.html)

sacsin

how i add picture in excel using vb6.0 at runtime
 
how i add picture in excel using vb6.0 at runtime

Norman Jones

how i add picture in excel using vb6.0 at runtime
 
Hi Sacsin,

Try:

Sub Tester()

With Range("A1")
ActiveSheet.Pictures.Insert _
("C:\My Pictures\ZA5469.jpg")
End With

End Sub

Change the name and path of the picture file; change "A1" to the desired
insertion position.

---
Regards,
Norman



"sacsin" wrote in message
...
how i add picture in excel using vb6.0 at runtime





All times are GMT +1. The time now is 01:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com