Outlook admin vs individual access (VBA pulling info)

Status
Not open for further replies.
K

ker_01

I'm not looking for a specific solution, just information on whether or not

this is possible, and if so, some general leads on what I'd need to learn

more about in order to develop and implement.

I have a VBA macro that grabs appointment data

(time/date/duration/subject/etc). As an individual user, it only pulls this

information from my calendar.

We are considering a project where employees would start using custom labels

to document their time on different projects, and ideally we would be able to

pull all of that data at once (not require each user to pull their own

summary data). In my mind, that means someone with some level of IT

administrative access who can access all calendars to pull this data - even

if the individual users have not specifically shared their calendars.

Has anyone pulled data at this aggregate level before, and if so, what are

the major stumbling blocks I should look out for, and what would I need to

learn more about to adapt VBA code from use at an individual level up to

something usable by an IT administrator to pull all calendars?

Thank you,

Keith
 
K

Ken Slovak - [MVP - Outlook]

You don't say what version or versions of Outlook you intend to support, or

if you have Exchange or not.

In Outlook 2007 or later calendar labels have been deprecated from the UI in

standard appointment forms. Labels never were exposed in the Outlook object

model, although they are accessible using other API's. So you'd need a

custom form to show a label in a drop-down or other control.

If you have Exchange you can have code that accesses each mailbox and reads

the desired data. If you don't have Exchange you should not even think about

something like this, you need to start looking at other ideas. PST files

aren't designed to be shared, nor should they ever be accessed from a

network share or anything other than a local hard drive.

I've aggregated such data many times, but never using VBA code. VBA code is

not designed to be deployed it's for prototyping and for personal macros. I

would probably use either C# or VB.NET for this, although something like VB6

could be used if you don't need 64 bit code for Exchange 2010.

How the data would be accessed, even with Exchange, depends on Exchange

version. It could be using Extended MAPI, Redemption

(www.dimastr.com/redemption), WebDAV with DASL or EWS (Exchange Web

services) depending on Exchange version and your familiarity with the

various API's.

"ker_01" <ker01> wrote in message

news:E7266A4C-0709-45E9-8C8B-E85ACBDC46CB@microsoft.com...
> I'm not looking for a specific solution, just information on whether or
> not
> this is possible, and if so, some general leads on what I'd need to learn
> more about in order to develop and implement.

> I have a VBA macro that grabs appointment data
> (time/date/duration/subject/etc). As an individual user, it only pulls
> this
> information from my calendar.

> We are considering a project where employees would start using custom
> labels
> to document their time on different projects, and ideally we would be able
> to
> pull all of that data at once (not require each user to pull their own
> summary data). In my mind, that means someone with some level of IT
> administrative access who can access all calendars to pull this data -
> even
> if the individual users have not specifically shared their calendars.

> Has anyone pulled data at this aggregate level before, and if so, what are
> the major stumbling blocks I should look out for, and what would I need to
> learn more about to adapt VBA code from use at an individual level up to
> something usable by an IT administrator to pull all calendars?

> Thank you,
> Keith

>
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
P outlook 2008 search box criteria couldn't be saved Using Outlook 0
pcunite Outlook 2019/O365 Build 13127.20408 errors when using MAPI calls Using Outlook 0
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 1
D Outlook 2010 Outlook in Windows 10 keeps asking for user name and password repeatedly Using Outlook 0
S Outlook mail adressing stops after first match in GAL Using Outlook 0
A Apply Selected Emails to outlook rules and Run Rules Using Outlook 5
T Changing Sent Items location in Outlook 2019 Using Outlook 0
J How do I disable advertising in Outlook 2019? Using Outlook 5
S Outlook (2016 32bit; Gmail IMAP) - Save sent message to Outllook Folder Outlook VBA and Custom Forms 0
L Unable to Sync Web/Android MS To Do with Windows Outlook Tasks Using Outlook 3
S Macro to move “Re:” & “FWD:” email recieved the shared inbox to a subfolder in outlook Outlook VBA and Custom Forms 0
S Outlook Macro to send auto acknowledge mail only to new mails received to a specific shared inbox Outlook VBA and Custom Forms 0
S Outlook Macro to move reply mail based on the key word in the subjectline Outlook VBA and Custom Forms 0
B Outlook Calendar not coming down from cloud Using Outlook 2
Terry Sullivan Sender's Name Doesn't Appear in the From Field on Outlook 365/IMAP Using Outlook 2
GregS Outlook 2016 Can I disable the Outlook Outbox? Using Outlook 2
P Outlook pst file is too huge with POP3. How to save more space? Using Outlook 4
D Outlook Contacts Notes Field Photos to Smartphone Using Outlook 0
Paula S. Outlook 2013 won't recognize new password Using Outlook 4
J Want to learn VBA Macros for Outlook. What book can you recommend? Outlook VBA and Custom Forms 2
A Backup Email Accounts On OutLook For Mac 2016 (Microsoft 365 subscription version) Using Outlook 0
J Time Zone Issues - Outlook Calendar and Webcal Feed Using Outlook 8
J Are the underlined letters in Outlook Reminders window supposed to work? Using Outlook 0
M Office 2016 Outlook is forgetting passwords Using Outlook 14
G How to add a folder shortcut to outlook quick access toolbar? Using Outlook 6
W Outlook WAS facebook but there is no info for old accounts Using Outlook 0
E Can one still buy Outlook (or Office) 2016? Using Outlook 6
G Add to Outlook Contacts - Point to non-default contacts folder Using Outlook 0
E Outlook view grouping keeps changing Using Outlook 3
Wayne Outlook locks up when opening "Manage Rules & Alerts" Using Outlook 3
G Personal Settings within Outlook Using Outlook 2
M Outlook 2013 reminder email by using Outlook vba Outlook VBA and Custom Forms 2
H Outlook 2019 Certificate error Using Outlook 2
B Outlook 2013 erratically deleting original file that is attached Using Outlook 0
V Outlook Forms: Formatting a Label with 2 different styles Outlook VBA and Custom Forms 1
M Outlook 2016 Outlook randomly unhides from taskbar Using Outlook 12
X Using Outlook 2013 and Outlook 365 Using Outlook 1
V Date and/or time error in Outlook Form Outlook VBA and Custom Forms 0
D Sending email from Office 365 alias in Outlook Using Outlook 3
B Spam folder not showing in Outlook Using Outlook 5
ThinkToday Calculate reply time of outlook mail Using Outlook 1
M Microsoft 365 Outlook keeps requesting password on Local Account Using Outlook 1
I Outlook 365 - import/attach PST file that used POP3 Using Outlook.com accounts in Outlook 0
e_a_g_l_e_p_i I think it may be time to upgrade from Outlook 2010 Using Outlook 3
K Outlook 2016 Outlook, Chrome, and Clio Using Outlook 5
O Outlook tasks - Add text column with multiple lines Using Outlook 3
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
HarvMan Outlook 365 PST Report Using Outlook 1
V Upgraded Outlook Using Outlook 0
J Outlook 2010 Outlook/Win7 Client logging Event ID 36887 Using Outlook 0
Similar threads


















































Top