Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture in excel 2007
Message
De
24/05/2011 07:39:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Picture in excel 2007
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01511559
Message ID:
01511559
Vues:
98
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform