Pop up reminder while i close outlook

Status
Not open for further replies.

sk21413

New Member
Outlook version
Outlook 2007
Email Account
Exchange Server 2007
I am using outlook 2007. My intention is to get the pop up reminder to update my time sheet .while i close the out look

Pls refer attachement.

If i cilk yes then the outlokk has to close it and if i click no. it has to dircet me to the particular web page where i can update my time sheet details.

as i understood this is not possible using native features built into Outlook, and i came to know that it can be done via VBA.

Since i am not familiar with VBA coding.

Could any one Provide me a sample code for this?
 

Attachments

sk21413

New Member
Outlook version
Outlook 2007
Email Account
Exchange Server 2007
Private Sub Application_Quit()
Prompt$ = "Have you updated your time sheet?"
Msg = MsgBox(Prompt$, vbYesNo + vbQuestion + vbMsgBoxSetForeground)
If Msg <> vbYes Then Exit Sub
End Sub

i have done the 50% coding . Now i want to do is if i click "yes" it should close the outlook and if i click "no" i t has to direct me the particular web page..

Please let me know the codings for this...
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
That's even not 5% of it...
You cannot have Outlook waiting until you've filled any web page, instead you'd have to catch the clicks on the menu buttons and cancel them before Outlook starts to close. If you want your code to be reliable, it would also have to know when the user clicks the upper right cross to close it. That can be done only via the Win32 API, which is a lot of work and most likely not available for free.
However, if you just want to call a web page and let Outlook continue to close, this would do it:

Private Declare Function ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

sub CallWeb(Url$)
ShellExecute 0, "open", Url, "", "", 1
end sub
 

sk21413

New Member
Outlook version
Outlook 2007
Email Account
Exchange Server 2007
Thanks for your reply..
As u told i just want to call a web page and let outlook continue to close.
will the above code work for outlook 2007?
where i have to put my URL address in the above code?
As i was not familiar with VBA coding.

Could you please help me?
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
S PoP up reminder while opening the outlook? Outlook VBA and Custom Forms 1
H Outlook 2010 reminder needs to pop up Using Outlook 1
P PST file is getting huge under POP 3 Using Outlook 2
H In outlook 365 POP mail Inbox, email takes a long time or never arrives. Using Outlook 1
B Copy/Move Exchange inbox to Pop inbox Using Outlook 4
O Get Outlook on your phone for free - web page pop up Using Outlook 8
J Change POP account to Forwarder - What happens in Outlook? Using Outlook 2
P Contacts gone missing in Outlook 2013 POP Using Outlook 4
I Make a macro in line rather than pop out Outlook VBA and Custom Forms 0
L Gmail POP, Android IMAP, Outlook 2013 setup close Using Outlook 5
Christopher M Infomational pop up Using Outlook 2
E POP vs IMAP on iDevices Using Outlook 3
J Why are emails for a different pop account copied to outlook.com account? Using Outlook 1
T Adding "Mark As Complete" btton to Task Remindet Pop-Up Using Outlook 3
G Outlook calendar entry corrupted. Constant pop up when you open outlook. Unable to delete or remove. Using Outlook 2
Jennifer Murphy Exit Without Sending pop-up restarts countdown Using Outlook 11
V Switching from IMAP to POP Using Outlook 3
V Question on pop email Using Outlook 2
M Link POP account with Outlook.fr Using Outlook 1
D is it possible to have both a POP and IMAP account in Outlook 2013? Using Outlook 5
C Outlook 2013 Windows Phone, Outlook 365/2013 POP Using Outlook.com accounts in Outlook 5
M Rule to pop a warning dialogue on certain actions Using Outlook 1
M Blank Pop-up Window when click "Manage Sharing" BCM (Business Contact Manager) 1
O Pop-up alert calender Outlook Wishlist 3
R Cant reinstall POP email account Using Outlook 2
T Constantly Occuring Login Pop-Up Window Using Outlook 1
P POP mail password popup after I deleted the accopunt Using Outlook 6
L IMAP and POP email in same Outlook system Using Outlook 1
M Converting from POP to IMAP with Comcast Using Outlook 5
Sarge USMC Outlook 13 not displaying POP inbound emails Using Outlook 12
S Transferring POP emails from Outlook 2002 to Outlook.com email in Outlook 2013 Using Outlook.com accounts in Outlook 8
O Outlook 2013 EAS Account and POP Account - Common Sent Folder Using Outlook.com accounts in Outlook 21
S categories are being cut off after selecting from category pop up form Using Outlook 3
K EAS and POP folders in Outlook 2013 Using Outlook.com accounts in Outlook 4
A How to disable the pop-up “Reponses to this meeting will not be tallied." Using Outlook 0
O Multiple Exchnage profiles simultaneously and hovering pop-up contact card ! Using Outlook 17
P Changing from POP to IMAP; will this setup work? Using Outlook 1
D Imported Tasks - Pop Up does not work Using Outlook 3
B Outlook 11 for Mac - Imap or Pop Account Type Using Outlook 6
S Removing an Exchange Server account, retaining POP accounts Exchange Server Administration 1
S Converting outlook 2010 pop account and folders to imap with gmail Using Outlook 1
S No Pop Up Reminders in Outlook 2013 Using Outlook 1
L Download/export multiple POP accounts Using Outlook 1
Diane Poremsky Help required for multiple identities when switching from POP to IMAP Using Outlook 1
T Change from exchange server to pop when I set up outlook wrong Exchange Server Administration 1
A i have problem with my outlook 2010 pop account Using Outlook 2
C Duplicate emails from pop but only for certain date range? Using Outlook 4
J Calendar Pop-up Missing from Calendar Printing Dialogue Using Outlook 1
P Task Assignment from Exchange to Pop Exchange Server Administration 8
D Pop up Reminders are not working Using Outlook 2
Similar threads


















































Top