K
KLAT
Hello,
I'm new to programming vba in outlook, so I need some help.
I would like to get date and possible time out of the currently
selected item and the currently selected item is from a calender view
or a journal view.
However I not able to get it working.
I have been using ThisOutlookSession to declare the following, based
on an article of Sue Mosher.
' code start
Option Explicit
Dim m_explevents As New ExplEvents
Private Sub Application_Startup()
m_explevents.InitExplorers Application
End Sub
' code end
and with ExplEvents I have the following code:
'Code start
Private WithEvets m_colExplorers as Outlook.Explorers
Private WithEvets m_objExplorers as Outlook.Explorer
Private Sub m_objExplorer_SelectionChange()
MsgBox "This is a SelectionChange"
' Here I need something that can determine which kind of item is
' selected and if possible get the current date and time out of
' that item.
End sub
' end code
I hope that someone is able to help me with this - thanks in advance
and happy new year
Keld
I'm new to programming vba in outlook, so I need some help.
I would like to get date and possible time out of the currently
selected item and the currently selected item is from a calender view
or a journal view.
However I not able to get it working.
I have been using ThisOutlookSession to declare the following, based
on an article of Sue Mosher.
' code start
Option Explicit
Dim m_explevents As New ExplEvents
Private Sub Application_Startup()
m_explevents.InitExplorers Application
End Sub
' code end
and with ExplEvents I have the following code:
'Code start
Private WithEvets m_colExplorers as Outlook.Explorers
Private WithEvets m_objExplorers as Outlook.Explorer
Private Sub m_objExplorer_SelectionChange()
MsgBox "This is a SelectionChange"
' Here I need something that can determine which kind of item is
' selected and if possible get the current date and time out of
' that item.
End sub
' end code
I hope that someone is able to help me with this - thanks in advance
and happy new year
Keld