Custom Class creation

C

Cory

Really I guess this is an overall VBA question, but since this particular
project is done in publisher I figured I would give it a shot here.

I have a procedure that analyzes a page, makes a list of present shapes that
conform to a certain naming convention, then creates a key (think Legend from
a map) that has annotation item descriptions that can be edited by the user
prior to finalizing. Once finalized, the key created a text box and a shape
(formatted to look like the corresponding shape on the page), then groups
them.

I want to create an AnnotationKey class that will allow me to more easilly
create the keys since all of them will consist of one or more annotation
items, and a title. Additionally every annotation item consists of a text
box and a line, rectangle, triangle or block arrow. I have seen some mostly
unspecific resources online for creating these custom classes, but nothing
really definite. None of them go into creating the .Item property, or the
..count method, neither do any go into the meat of structure for each portion
(class, method, property, event). This can in fact be implemented in VBA
right? If so, anyone have some good resources? I have taught myself VBA so
far, but this one is stumping me.

If VBA doesn't support it, perhaps I could implement it with Visual Basic
2005, but that will take a number of months to get approved for install on my
computer.

Any help ya'll can give will be greatly appreciated.

Cory
 

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