RYL Forums


Forum Jump
Post New Thread  Reply
 
Thread Tools Search this Thread
Old 25-02-2008, 06:51 PM   #1
Misanthropic Girl
 
Macro's (excel)

Hey,
I'm trying to do a macro in Excel, sadly im hopeless at them and was wondering if any one on here could help me
basically i want to create a macro which will exit the current workbook, BUT give the option whether to save or not. currently ive got one which closes the workbook and automatically saves it.

Sub ExitExcel()
ActiveWorkbook.Close SaveChanges:=True
Application.Quit
End Sub

but i need the option of not saving too. so yeah...
xx

  Reply With Quote
Reply


Currently Active Members Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Censor is ON
Forum Jump


Sea Pink Aroma
All times are GMT +1. The time now is 09:59 PM.