General information
Category:
Coding, syntax & commands
Title:
Picture in excel 2007
this is my code
tmpsheet=Getobject('','excel.sheet')
xlapp=tmpsheet.Application
xlapp.Visible=.T.
xlapp.workbooks.Open(Fullpath(filename_))
bcsheet=xlapp.activesheet
** some code **
Lpicture=('\büro\bmp\'+alltrim(model)+'.jpg')
bcsheet.Range(A5).Select
bcsheet.PictureS.Insert(Lpicture).Select
*******************************
my problems are
1, the picture gets inserted but not at A5,
2, how do i resize the picture
thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only