
Steven Behr
Member
Members
Power Query
Power Query

Forum Posts: 85
Member Since:
January 30, 2020
January 30, 2020

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: Alan Sidman, John DiMatteo, Leigh Thomas
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Trevor Pindling
Stevan Kanjo
Erin Sheldon
Nikita Bhatia
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Young You
Jennifer Owens
Forum Stats:
Groups: 3
Forums: 24
Topics: 6525
Posts: 28555
Member Stats:
Guest Posters: 49
Members: 32808
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —
