Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fill Excel range with XML?
Message
From
12/08/2004 13:38:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00849641
Message ID:
00932836
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform