![](/forum/profile/get-photo.asp?memberid=27&type=profile&rnd=376) Elite Veteran
Beiträge: 857
![500](http://donkarl.com/forum/images/decorations/multiple/500.gif) ![100](http://donkarl.com/forum/images/decorations/multiple/100.gif) ![100](http://donkarl.com/forum/images/decorations/multiple/100.gif) ![100](http://donkarl.com/forum/images/decorations/multiple/100.gif) ![25](http://donkarl.com/forum/images/decorations/multiple/25.gif) ![25](http://donkarl.com/forum/images/decorations/multiple/25.gif) Ort: Wien | Hallo, Lorenz!
Lorenz - 20.12.16
es gibt beim Rechtsklick auf ein Register den Befehl "Alles schließen", der erwartungsgemäß alle Fenster schließt. Gibt es das nicht als direkten VBA-Befehl?
...
RunCommand acCmdCloseAll
musst du "Objekt-neutral" losschicken, also über Ribbon, Tastatur, Makro o.ä.
In meinem kleinen Testformular vorhin, schloss es zuerst dasselbige und meckerte dann, dass das RunCommand steckenblieb.
----- Servus
Karl
*********
Access-Entwickler-Konferenz: https://www.donkarl.com/?aek
Access DevCon Vienna: https://www.donkarl.com/devcon
Access Forever: https://www.accessforever.org
Access News: https://www.youtube.com/playlist?list=PLVCeBbJIMDvdJ8ghMbEakJ6_EQyvy... |