Thread: save Y/N?
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
B. Wassen B. Wassen is offline
external usenet poster
 
Posts: 8
Default save Y/N?

Thanks,

the messagebox is working but how can I actually save the data?
What comes after Then en between else and endif?


Private Sub Hoofdmenu_Click()

If MsgBox("Wilt u de wijzigingen opslaan?", vbYesNo, "Orderinvoer.xls") =
vbYes Then


Else


End If






End Sub



"Haldun Alay" schreef in bericht
...
If MsgBox("Save", vbYesNo, "Application Name") = vbYes Then
'Saving Process
Else
'return
End If


Haldun

"B. Wassen" , iletide şunu yazdı
...
From main menu I go to a database where I can change data. Before I

return
to the main menu I would like to have a box wich asks "Save Y/N"
If Y save (how?)
Else Return

Thanks,

Ben