Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Also, ich habe bereits folgenden Code für Dez => Hex und Hex => Dez. Der soll jetzt aber noch ein bisschen verfeinert/vereinfacht(?) werden bzw. noch die Umrechnung nach Octal und Binär hinzufügen. Wenn man dann in eins der Felder eine Zahl eingibt, dass dann sofort in alle anderen umgerechnet wird und die von Hand eingegebene Zahl fett markiert wird.

Sub Makro1()


If Range("B3").value < 0 Then

    MsgBox "Negative Eingaben sind nicht möglich"

    Exit Sub

End If


If Range("B3").value = 0 Or Range("B3").value = "" Then

    MsgBox "Bitte etwas eingeben"

    Exit Sub

Else


' Dezimal nach Hexadezimal

Dim lngDezimal As Long

lngDezimal = Range("B3").value

MsgBox "Der Hex-Wert lautet: " & Hex$(lngDezimal)


End If

End Sub
und
Sub Makro2()


If Range("B6").value < 0 Then

    MsgBox "Negative Eingaben sind nicht möglich"

    Exit Sub

End If


If Range("B6").value = 0 Or Range("B6").value = "" Then

    MsgBox "Bitte etwas eingeben"

    Exit Sub

Else


' Hexadezimal nach Dezimal

Dim strHex As String

strHex = [B6]

lngDezimal = CLng("&H" & strHex)

MsgBox "Der Dezimalwert von Hex ist: " & _

lngDezimal


End If

End Sub

btw. hab die versch. Makros auf Schaltflächen gelegt.

Bearbeitet von r26t01

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.