Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture in excel 2007
Message
 
 
À
24/05/2011 07:39:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01511559
Message ID:
01511562
Vues:
62
Try
oSheet.Range("A5").Select
oPic = oSheet.Pictures.Insert(GETFILE("jpg"))
oPic.Height = 100
>
>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform