Help: How to Get Fields Mapped (using .Net ?

G

Guest

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
 
W

William Ryan eMVP

Ales:

Are you in .NET environment or Excel. If .NET, what exception are you
getting.
 
G

Guest

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 said:
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
 
Top