Autosaving

S

Steve

Hiya all,

what i want to do ia automaticaly save at a certain point. I want to add
this after Call logout.



Thanks




Sub CheckOutOrder()

Call CheckLogin

ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Show_message = MsgBox("Does the customer want a copy of the receipt?",
vbYesNo, "Print Receipt")

If Show_message = vbYes Then
Range("Announcement1").Select
ActiveCell.FormulaR1C1 = "Customer Copy"

ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

Range("Announcement1").Select
ActiveCell.FormulaR1C1 = ""
End If

Call UpdateStock

Call ClearCurrentOrder("OrderComplete")

Call LogAction("Printed Reciept For " & RoomNumber)
Sheets("Reciept").Select

Call ClearReciept

Call LogOut

End Sub


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080228-0, 28/02/2008
Tested on: 29/02/2008 15:01:14
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
 
S

Steve

great thanks


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080228-0, 28/02/2008
Tested on: 29/02/2008 15:37:36
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

autosaving - message box 3
Merging 1
reset a cell 5
Transparent button 5
Auto insert 2

Top