word said:
I want to create a macro but i am not sure what programming language
is used to create one.
The name of this newsgroup might be a clue.
The language used to create Word macros is Visual Basic for Applications
(VBA).
It's possible to write programs in other languages -- Visual Basic (not "for
Applications"), C++, C#, VBScript, etc. -- that create a Word "object" and
automate it through COM, but that's usually not called a "macro".