Create named range

G

Guest

Hi,
I would like to know, how to define named range in excel by programmatically
with Visual Studio 2005 Tools for the Microsoft Office System

Thanks
 
G

Guest

Application.ThisWorkBook.Names.Add(.....);
Have a look at VBA Help files and the parameters for the method.

If you are using C# use Type.Missing for optional variables
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top