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.

[VBA] Round Funktion in VBA Office 97 ?

Empfohlene Antworten

Moin zusammen,

hab ein etwas grösseres Makro geschrieben, dass unter anderem die Funktion "round" verwendet. Diese Funktion wurde leider erst mit VB6 eingeführt. Davor scheint es die nicht zu geben.

Entwickelt wurde das Makro unter Office 2003 / Office 2000 (mal so mal so...),

laufen soll das unter Office 97.

Muss ich nun tatsächlich auf "round" verzichten oder gibt es da nen Workaround (maybe ne funktion die ich einfach "round" nenne selbst schreiben?)?

Wie würde einen Funktion die dasselbe vollbringt wie "round" aussehen? Mathematisch bin ich leider nicht so fit mir da selbst was auszudenken :(

Danke schonmal!

Gruss

Dgr243

Vllt hilft dir DAS weiter ;)

' Die Funktion "Runden" rundet eine Zahl(vZahl) auf die gewünschten

' Nachkommastellen(iStellen)

'----------------------------------------------------------------------------------------

 Function Runden(vZahl As Variant, iStellen As Integer)

      Runden = CVar(Format(vZahl * (10 ^ iStellen), "0") / (10 ^ iStellen))

 End Function

Bitteschön!

Gruß,

tim

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.