Steven Behr
Member
Members
Power Query
Power Query
Forum Posts: 85
Member Since:
January 30, 2020
January 30, 2020
Offline
Hi,
I have created a Save and Close Macro (Below), So that the command button been assigned for the user to use before exiting
ActiveWorkbook.Close SaveChanges:=True
What Im trying to prevent is the Close "X" button to be pressed and for user to stop save as and to use a MSG "Please use the save and Close button". is there a code that when you press "X" close button that you cant close unless you hit Save and close command button.
Thanks
Steve
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Dom Brosnahan
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1917
SunnyKow: 1432
Anders Sehlstedt: 900
Purfleet: 414
Frans Visser: 346
David_Ng: 306
Hans Hallebeek: 290
lea cohen: 246
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Michal Kučera
Stephen Keating
David M Connelly
Quick Analytics
Peter Craven
Thomas Huybs
Cassandra McGuire
Leo Bonaparte
Excel Learner
david gavi
Forum Stats:
Groups: 3
Forums: 24
Topics: 6882
Posts: 30161
Member Stats:
Guest Posters: 49
Members: 33708
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —