View Single Post
 
Old 04-19-2016, 01:52 AM
AttiCuS AttiCuS is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Mar 2016
Posts: 6
AttiCuS is on a distinguished road
Default

Hi macropod,

You turned me to good way, as always

However, still don't have any idea how to 'bite' it ;-)

Code:
         Select Case Rslt
            Case vbYes
            Me.Saved = True
            Case vbNo
            Exit Sub
         End Select
I've changed the button option to vbYesNo. But it doesn't work;/

When clicked little disk to save the file, I got question and this is ok. However when I chose button 'Yes' or 'No' nothing has happened.

I want to make the action if I click X to close the file I got the question - and it works. Then when I choose 'Yes' the file should be saved but when choose 'No' I want to go back to file without system question if I want save the file and then continue filling template. The same action if I click little disk to save the file.

Could you help me with that also?
Reply With Quote