The code you give is VBA code.
Using either VB .NET or C#, you still will be using VBA code, but the syntax
is different within the VB .NET or C#.
First, you need to write VB.NET or C# code that can automate Word.
Only then can one consider how to include your code in the VB .NET or C#
code.
Note that it is much easier to use VB .NET than C# to automate Word,
especially for a beginner.
A place to start may be Andrew Whiechapel's book from MSFT Press, "Microsoft
.NET Development for Microsoft Office".

Signature
http://www.standards.com/; See Howard Kaikow's web site.
Hi
Plz Anyone Convert this VB code to C# Equivalent
Here Application is MS Word.
With Application
.Visible = True
.Activate
.COMAddIns.Item("NETSLogin.CNetsWord").Connect = True
.Run
MacroName:="NETSTemplate.NWCommands.LoginToNETS"
.Run MacroName:="NETSTemplate.md.OpenDocForNETSSite"
End With
Thank u for ur help in Advance.Plz help ASAP.
With bers regards
Qumer