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.

änderungen autom. übernehmen(excel)

Empfohlene Antworten

hallöle allerseits,

kennt zufällig jemand ne möglichkeit (einstellung oder in vba) wie ich excel sagen kann, es soll beim schließen automatisch die änderungen (ohne Bestätigung) speichern??

danke für jeden tipp :D

hmmm, also das einzige was ich kenne, ist das automatische speichern... eine option, dass änderungen automatisch beim beenden gespeichert werden, gibts laut hilfe-datei (excel97) nicht... :cool:

geht nur in kombination aus vba und batchdatei (so gehts jedenfalls).

falls es noch jemand besser weiß....

danke jedenfalls:D

Hallo,

ich habe im VBA von Excel da eine Lösung - weis jedoch nicht mehr ob es auch ohne nachzufragen speichert.

der code müsste wie folgt lauten :

activeWorksheet.save

und das dann im Makro autoClose

Hoffe das das klappt.

das schließt zwar die arbeitsmappe, excel selbst aber bleibt geöffnet.

das habe ich durch einen verweis auf ne batch gelöst, die dann excel killt.

so sieht das jetzt bei mir aus:

Code:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

' Andere Anwendung aufrufen (exe, bat,com oder pif)

'allgemeiner Aufruf : Shell(pathname [,windowstyle])

ActiveWorkbook.Save

Shell ("D:\BATs\Kosten.bat")

' oder Microsoft-Anwendung

' Application.ActivateMicrosoftApp (xlMicrosoftWord)

End Sub

auf jeden fall danke schön :D

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.