Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fill Excel range with XML?
Message
De
12/08/2004 13:38:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00849641
Message ID:
00932836
Vues:
22
>In the previous example, PasteSpecial() is used but this pastes in all of the
>images and links that were on the HTML page.
>** used in the example
>.Activeworkbook.Activesheet.Range('a1').PasteSpecial()
>
>But if we just want the values, could we do as
>.Activeworkbook.Activesheet.Range('a1').PasteSpecial(-4163,-4142,.f.,.f.)
>
>as based on the following from the object viewer in excel and for paste special from an excel
>macro recording
>
>*Selection.PasteSpecial
>*Paste:=xlValues,
>*Operation:=xlNone,
>*SkipBlanks:= False,
>*Transpose:=False
>Thanks
>Steve

Steve,
(as I know more details on your reqirement)
I think you don't need pastespecial there :
oEx = Createobject('excel.application')
With oEx
	.Visible = .T.
	.DefaultWebOptions.LoadPictures = .F.
	.Workbooks.Open(TheNameOfTheHtmlFile)
Endwith
PS: With PasteSpecial too it'd work if you set as .DefaultWebOptions.LoadPictures = .F. ( PasteSpecial() then ).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform