Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro for creating Special Categories

Status
Not open for further replies.

aravindk

Programmer
May 8, 2003
43
US
Hello All,

How to add a special category to another special category using a macro? Here is the code snippet I am using (just the relevant portion):

Set objSpecCategory = objModel.Dimensions("Customer Groups").Categories.Add(trSpecialCategory)
With objSpecCategory
.Code = "Watch Lists"
.Name = "Watch Lists"
.update End
With

After this I want to create another category under "Watch Lists" such as "Top 50 Watch List".

How can I do it?

TIA, Arvin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top