Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Help: How to Get Fields Mapped (using .Net ?

I Built an excel file,
using XmlWebReference

and my result is

+-----------+-----------+
| Field1 v | Field 2 v|
+-----------+-----------+
|Value 1 |
|Value 2 |
|Value 3 |
+-----------+-----------+

Now I Need to get
the list of Fields mapped
using Net

I tried with

Excel.ActiveWorkBook.Maps(1).Schemas(1).... (Vb)

Excel.ActiveWorkBook.Maps[1].Schemas[1].... (c#)

i Tried also in Excel Visual Basic Editor
but failed

please help me!!!


Thank in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to Get Fields Mapped (using .Net ?

Ales:

Are you in .NET environment or Excel. If .NET, what exception are you
getting.
"ales no spam" wrote in message
om...
I Built an excel file,
using XmlWebReference

and my result is

+-----------+-----------+
| Field1 v | Field 2 v|
+-----------+-----------+
|Value 1 |
|Value 2 |
|Value 3 |
+-----------+-----------+

Now I Need to get
the list of Fields mapped
using Net

I tried with

Excel.ActiveWorkBook.Maps(1).Schemas(1).... (Vb)

Excel.ActiveWorkBook.Maps[1].Schemas[1].... (c#)

i Tried also in Excel Visual Basic Editor
but failed

please help me!!!


Thank in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to Get Fields Mapped (using .Net )?

I found Field List in
Excel.ActiveWorkBook.Maps[1].Schemas[5]

but how to get
Map on sheet

I need to know

Field1 is mapped starting from A10,
Field2 is mapped starting from C10,
Field3 is Mapped starting from B10

ad so on

Thanks in advance


Search List
Mapping, Com, interoperabilty, .net
Field



Are you in .NET environment or Excel. If .NET, what exception are you
getting.
"ales no spam" wrote in message
om...
I Built an excel file,
using XmlWebReference

and my result is

+-----------+-----------+
| Field1 v | Field 2 v|

+-----------+-----------+
|Value 1 |
|Value 2 |
|Value 3 |
+-----------+-----------+

Now I Need to get
the list of Fields mapped
using Net

I tried with

Excel.ActiveWorkBook.Maps(1).Schemas(1).... (Vb)

Excel.ActiveWorkBook.Maps[1].Schemas[1].... (c#)

i Tried also in Excel Visual Basic Editor
but failed

please help me!!!


Thank in advance

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Help: How to Get Fields Mapped (using .Net ?

I found The list Of Fields in
Excel.ActiveWorkBook.Maps(1).Schemas(5).Xml

And Found The mapping

in

dim oRange as Range
strXPath="/ns1:DataSet/ns3:diffgram/GetDataSet/Table/" + strColName
set oRange=oWB.Worksheets[1].XmlMapQuery(strXPath)

how is explaned in

http://msdn.microsoft.com/library/de...dc_xlexpen.asp


I Built an excel file,
using XmlWebReference

and my result is

+-----------+-----------+
| Field1 v| Field 2 v|
+-----------+-----------+
|Value 1 |
|Value 2 |
|Value 3 |
+-----------+-----------+

Now I Need to get
the list of Fields mapped
using Net

I tried with

Excel.ActiveWorkBook.Maps(1).Schemas(1).... (Vb)

Excel.ActiveWorkBook.Maps[1].Schemas[1].... (c#)

i Tried also in Excel Visual Basic Editor
but failed

please help me!!!


Thank in advance

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
Mapped vs Network drives Greg Excel Worksheet Functions 2 January 12th 10 07:16 PM
Missing Blue Border in xml mapped range Babba Excel Discussion (Misc queries) 0 October 26th 06 11:54 AM
Linked cells and Mapped Network Drives James McDowell Excel Worksheet Functions 3 May 10th 06 06:42 PM
saving files with mapped drives Derek Excel Discussion (Misc queries) 0 May 9th 05 07:49 PM
Excel converts Mapped drive to UNC - How to stop? Fred Links and Linking in Excel 1 January 20th 05 12:24 AM


All times are GMT +1. The time now is 09:14 AM.

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"