LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default XML - VBA conversion (.uxdc file)

Hi,

I am attempting to export data from a Windows Sharepoint site for the
purpose of creating a report. Using Excel 2003 a user can connect to a
particular site using a .uxdc file, however I need to be able to access each
site programmatically using a VBA userform.

Any ideas as to whether it's possible to convert the following code to VBA?

Many thanks,

Nock

(Below is a .uxdc that queries the 'P3-Emp3' project Issues list.)

<?xml version="1.0"?
<udc:DataSource MajorVersion="1" MinorVersion="0"
xmlns:udc="http://schemas.microsoft.com/data/udc"
<udc:NameProject%20Issues</udc:Name
<udc:Type Type="SOAP" MajorVersion="1" MinorVersion="0"
<udc:SubType Type="DSP" MajorVersion="1" MinorVersion="0"
<udc:SubType Type="STS" MajorVersion="1" MinorVersion="0"
</udc:SubType
</udc:SubType
</udc:Type
<udc:ConnectionInfo Purpose="Query"
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap"
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp"
<udcs:Location
href="http://p3-epm3:3344/_vti_bin/dspsts.asmx"STSDataAdapter</udcs:Location

<udcs:SOAPActionhttp://schemas.microsoft.com/sharepoint/dsp/queryRequest</udcs:SOAPAction
<q:Header xmlns:q="http://schemas.xmlsoap.org/soap/envelope/"
<dsp:versions
<dsp:version1.0</dsp:version
</dsp:versions
<dsp:request document="content" method="query"
</dsp:request
<dsp:dataRoot
<dsp:roothttp://p3-epm3:3344</dsp:root
</dsp:dataRoot
</q:Header
<q:Body xmlns:q="http://schemas.xmlsoap.org/soap/envelope/"
<dsp:queryRequest
<dsp:dsQuery select="/list[@id='{7147F5B7-BE43-48B7-AF5F-6907CEFE8590}']"
resultContent="dataOnly" resultRoot="Project Issues"
<dsp:Query
<dsp:Fields
<dsp:Field Name="Title"/
<dsp:Field Name="AssignedTo"/
<dsp:Field Name="Created"/
<dsp:Field Name="Category"/
</dsp:Fields
</dsp:Query
</dsp:dsQuery
</dsp:queryRequest
</q:Body
</udc:ConnectionInfo
</udc:DataSource
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
File conversion Mothomas Excel Discussion (Misc queries) 2 October 7th 08 09:39 PM
File conversion Dasco New Users to Excel 1 July 12th 08 09:10 AM
AppleWorks file conversion to Excel file Don merkel Excel Discussion (Misc queries) 0 February 1st 08 07:27 AM
old xls file conversion Denise1 Setting up and Configuration of Excel 3 January 31st 06 03:02 AM
MAC file conversion gotobethlehem Excel Discussion (Misc queries) 0 December 27th 05 11:16 PM


All times are GMT +1. The time now is 04:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"