J
JSM
Hi,
I have developed a utility in VB which analyses a Word template and
generates the VBA code required to recreate any outline numbering list
templates which exist (useful when copying outline numbered styles from one
document to another). This works a charm EXCEPT when the outline "numbers"
are bullets. In most cases the NumberFormat property of the ListLevel object
returns "?". What I need is to be able to retrieve the ascii value for the
bullet character. Using
asc(myListLevel.NumberFormat) returns 63 with is the ascii value of a
question mark - not very useful
Is there a way that I can return the correct bullet via code? I can
determine the ascii values manually and slot that into the code that my
utility generates but it would be nice for my program to be able to do
this - after all that is what it is for!
Cheers,
John
I have developed a utility in VB which analyses a Word template and
generates the VBA code required to recreate any outline numbering list
templates which exist (useful when copying outline numbered styles from one
document to another). This works a charm EXCEPT when the outline "numbers"
are bullets. In most cases the NumberFormat property of the ListLevel object
returns "?". What I need is to be able to retrieve the ascii value for the
bullet character. Using
asc(myListLevel.NumberFormat) returns 63 with is the ascii value of a
question mark - not very useful
Is there a way that I can return the correct bullet via code? I can
determine the ascii values manually and slot that into the code that my
utility generates but it would be nice for my program to be able to do
this - after all that is what it is for!
Cheers,
John