Jump to content

C# replace in a office table?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
barna

barna

    Newbie

  • Members
  • Pip
  • 1 posts
Hi friends,
Got a question:

I want to write a little program in C# that will be some combobox, and the event click on a button to replace in a table I built in some cells in word content with what was selected in combobox.
ex:
make the connection between combobox1.text -> B3 cell

sory for may bad english ...

Thank you,
Barna.

#2
gregwarner

gregwarner

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 853 posts
  • Location:Arkansas
I've never done MS Word automation in C# before. Typically, people use MS Office's built-in VB macro tool for that. However, I googled for some resources and came up with the following two promising links. Take a look and see if that tells you what you want to know.
Word automation using C#
C# Station: Create and Manage MS Word Documents
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users