Thread
:
Closing Excel with Visual Basic
View Single Post
#
5
(
permalink
)
12-08-03, 08:22
John Allen
Registered User
Join Date: Dec 2003
Location: Wellingborough , UK
Posts: 3
Re: Closing Excel with Visual Basic
Quote:
Originally posted by RickKnight
Use a macro:
Sub CloseIt()
' Keyboard Shortcut: Ctrl+q
'
ActiveWorkbook****nAutoMacros Which:=xlAutoClose
End Sub
I tried this but nothing seemed to happen...probably something I'm not doing.
John Allen
View Public Profile
Visit John Allen's homepage!
Find all posts by John Allen