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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Roman numbers and Alfabetical numbers

Status
Not open for further replies.

nesplb

Programmer
Jul 29, 2003
109
0
0
NO
Hi again mates!

Does anyone know if there is a function that can convert integers to roman numbers (1= |, 2= ||, 3= |||, 4= |V etc.) and a function that can convert integers to alfabetical numbers? (1= a, 2 = b etc.) in VBA?

In advance thanks!

Pål, Oslo , Norway

Pål Nesteby

PDC-Tangen
Norway
 
I guess there is no function, but its possible to write one. If anyone is interesseted please let me know. I found a nice function on the net.

Pål, Oslo, Norway

Pål Nesteby

PDC-Tangen
Norway
 




Hi,

"integers to alfabetical numbers" is easy.

Check out the ASCII value of Numeric Characters and Alphabetic Characters.

Skip,
[sub]
[glasses] When a group touring the Crest Toothpaste factory got caught in a large cooler, headlines read...
Tooth Company Freeze a Crowd! and
Many are Cold, but Few are Frozen![tongue][/sub]
 
According the first question, see ROMAN excel function and Application.WorksheetFunction.Roman for excel vba.
Concerning second part, use Char function with proper argument shift.


combo
 
Yeah:)
Thanks people!

Pål Nesteby

PDC-Tangen
Norway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top