Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating ListObject using an XmlMap datasource.

Is it possible, using VBScript, to create a new ListObject using an XmlMap as
the data source? This can be done in the UI, but not seemingly through code.

eg:

Dim m as XmlMap
Dim l as ListObject
Dim r as Range

Set r = ActiveWorkbook.ActiveSheet.Range("A1")
Set m = ActiveWorkbook.XmlMaps("Sample_Map")
Set l = ActiveWorkbook.ActiveSheet.ListObjects.Add(xlSrcXm l, m, True, xlNo, r)

* The above code produces "Invalid procedure call or argument".

Reply
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
ListObject binding samsam Excel Programming 0 September 19th 06 08:05 AM
import xml using xmlmap WITHOUT linking to list Jay[_20_] Excel Programming 2 February 10th 06 03:26 AM
Excel.xmlMap not defined Irfan Excel Programming 2 May 31st 05 06:05 PM
Events for listobject sai Excel Programming 1 February 8th 05 12:23 AM
listobject ... Excel2003 Jim C.[_4_] Excel Programming 0 April 3rd 04 10:13 PM


All times are GMT +1. The time now is 06:46 AM.

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

About Us

"It's about Microsoft Excel"