Dezimal Binär
07.01.2005 11:06:00
Katja
Ich habe ein einfaches Problem, finde aber einfach die Funktion nicht. Ich möchte eine Dezimal-Zahl in eine Binär-Zahl umwandeln. Ich kenne die Funktionen für HEX und ASCII.
Dim Zahl as integer
Dim Wert as string
Dim ASCIIWert as string
Dim BinärWert as integer
Wert = Hex(Zahl)
ASCIIWert = Chr(Zahl)
BinärWert = ?(Zahl)
Die Formel "= Dec2Bin(A1)" kenne ich. Ich möchte das Problem aber in VBA lösen. Wer kann mir helfen?
Danke und Gruss
Kaja