Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have to insert a picture into an excel 2000 worksheet within MATLAB R14, using COM-commands. I very new to it, the commmands that worked so far to insert text a Excel = actxserver('Excel.Application'); %% open document (omitted), then Activesheet = Excel.Activesheet; .... Activesheet.Range(['A6']).Value = 'testvalue'; No I'm searching for the right object, method or property to insert a picture, stored in a file (preferably) or in the clipboard. I tried: Activesheet.Range('A25').Select; pic = Activesheet.Pictures.Insert('C:\mypic.tiff').Selec t But I get the error message: "No appropriate method or public field Pictures for class Interface.Microsoft_Excel_9.0_Object_Library._Work sheet." Dou you have any suggestions?? Thanks, Cannabibal |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert Picture | Excel Worksheet Functions | |||
Insert Picture | Excel Discussion (Misc queries) | |||
how do I insert picture into cell so vlookup can return picture? | Excel Worksheet Functions | |||
insert a picture in to a comment but picture not save on hard disk | Excel Discussion (Misc queries) | |||
insert picture | Excel Discussion (Misc queries) |