New to Visual C#

  • Thread starter Thread starter les
  • Start date Start date
L

les

could you be alittle more specific on what you have to
do. you quite probably could do what you are asking
without even cutting a line of code--depending on what
exactly it is that you have to do.
 
hi,

well basically I have a word file with a table in it.... 4 columns, X rows.
for each row, first column (that specific cell) i need to extract information:

so a cell would look something like this:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[some numerical value]
INFORMATION1
[INFORMATION1 continued...]
c/o XXX
[XXX...]
[ABC: INFORMATION2]
[XYZ: INFORMATION3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Okay so anything in square brackets [] is optional, and the '...' indicates
that it could be on more than one line. But basically I need to extract
INFORMATION1,
INFORMATION2, and INFORMATION3. Oh and the XXX could be anything.

The extracted info needs to be put into an excel spreadsheet. Three columns,
for INFORMATION1,2, and 3.

Not sure if this is too much information :P but that's the task. I'm not
sure how you would do this without any code as you are saying...but I'd love
to know!

Thanks,

Sarah :)
 
Sarah,
Since the information is in a table you can select the
entire table, then paste it into Excel. Unless you have
to do a lot of these or you just want an excersize in
programming a bit of OLE, then do it manually--It should
take like 5 seconds. Highlight, copy, from Word, then
paste into Excel, the information should come over row
for row and column for column.
tnx,
Les
-----Original Message-----
hi,

well basically I have a word file with a table in it.... 4 columns, X rows.
for each row, first column (that specific cell) i need to extract information:

so a cell would look something like this:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[some numerical value]
INFORMATION1
[INFORMATION1 continued...]
c/o XXX
[XXX...]
[ABC: INFORMATION2]
[XYZ: INFORMATION3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Okay so anything in square brackets [] is optional, and the '...' indicates
that it could be on more than one line. But basically I need to extract
INFORMATION1,
INFORMATION2, and INFORMATION3. Oh and the XXX could be anything.

The extracted info needs to be put into an excel spreadsheet. Three columns,
for INFORMATION1,2, and 3.

Not sure if this is too much information :P but that's the task. I'm not
sure how you would do this without any code as you are saying...but I'd love
to know!

Thanks,

Sarah :)


les said:
could you be alittle more specific on what you have to
do. you quite probably could do what you are asking
without even cutting a line of code--depending on what
exactly it is that you have to do.
deadline
in c#. (have to or
anything to do with
 
Back
Top