ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Assign "Get External Data" from a VSTO Add In (https://www.excelbanter.com/excel-programming/417957-assign-get-external-data-vsto-add.html)

John M[_2_]

Assign "Get External Data" from a VSTO Add In
 
Hello,

I would like to be able to assign a web service as external data for a
Worksheet. I need this to be done through a VSTO add in for the Ribbon in
Excel 2007.
The code might look like:

public void XMLAttachment()
{

this.Sheet.GetExternalData.WebServiceURL("https://someService.asmx/getData?startMonth=200708");
}

I want the Excel sheet to load the XML exactly as it does when this is done
through the User Interface.

Thanks in Advance,
John M.


All times are GMT +1. The time now is 03:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com