AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,072
- Office Version
- 2019
- 2010
- Platform
- Windows
I have a .bmp image I'd like on my worksheet via code, but not having much success.
It won't compile, tells me "Expected = "
Thanks for any help
Code:
pname= "D:\logo4.bmp"
With Worksheets("Test")
.shapes.addpicture(pname,False, True,100, 10, -1, -1)
End With
It won't compile, tells me "Expected = "
Thanks for any help