Pull Data From Non-Default Calendar

Status
Not open for further replies.
E

eckert1961

Hello,

I am running Outlook 2003 and I have a macro that pulls data from the

default calendar. I created a new calendar named "Instructor Schedule" which

is a subfolder under Calendar. I would like to change the code so that the

data is pulled from the new calendar. Currently I am using the following code.

Set colCal = objNS.GetDefaultFolder(olFolderCalendar).Items

What change would I need to implement to get my desired results? Thanks.

Regards,

Chris

Regards,

Chris
 
Set colCal =

objNS.GetDefaultFolder(olFolderCalendar).Folders.Item("Instructor

Schedule").Items

"eckert1961" <eckert1961> wrote in message

news:72AFD85A-E977-4DBF-A871-64065373B0F4@microsoft.com...
> Hello,

> I am running Outlook 2003 and I have a macro that pulls data from the
> default calendar. I created a new calendar named "Instructor Schedule"
> which
> is a subfolder under Calendar. I would like to change the code so that the
> data is pulled from the new calendar. Currently I am using the following
> code.

> Set colCal = objNS.GetDefaultFolder(olFolderCalendar).Items

> What change would I need to implement to get my desired results? Thanks.

> Regards,
> Chris
> > Regards,
> Chris
 
Thanks for the quick response Ken. That worked perfectly.

Regards,

Chris
wrote:


> Set colCal =
> objNS.GetDefaultFolder(olFolderCalendar).Folders.Item("Instructor
> Schedule").Items

> >

>

> "eckert1961" <eckert1961> wrote in message
> news:72AFD85A-E977-4DBF-A871-64065373B0F4@microsoft.com...
> > Hello,
> > I am running Outlook 2003 and I have a macro that pulls data from the
> > default calendar. I created a new calendar named "Instructor Schedule"
> > which
> > is a subfolder under Calendar. I would like to change the code so that the
> > data is pulled from the new calendar. Currently I am using the following
> > code.
> > Set colCal = objNS.GetDefaultFolder(olFolderCalendar).Items
> > What change would I need to implement to get my desired results? Thanks.
> > Regards,
> > Chris
> > > > Regards,
> > Chris


> .
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
X Outlook automation pull from PDF Using Outlook 5
C Pull Outlook shared calendars items from Excel Outlook VBA and Custom Forms 4
J Pull an email address from body and replace reply-to address Outlook VBA and Custom Forms 4
M rule to change subject, pull email addresses from body, and forward with templ Using Outlook 14
D Redemption? Need rapid pull of Outlook Contacts, email + notes for VBA Using Outlook 1
A Pull mail without marking and processing, only by selecting it Using Outlook 1
J multiple email accounts, but only want to pull from two Using Outlook 1
Commodore Back/Forward toolbar buttons with pull-down history? Using Outlook 5
C Advanced search terms for "Outlook Data File" Using Outlook 1
C Populate form data into message body Outlook VBA and Custom Forms 1
CWM550 Saving Data: Don't check certain folders Using Outlook 2
CWM550 Importing " Old Skool" Data Using Outlook 0
W Create a Quick Step or VBA to SAVE AS PDF in G:|Data|Client File Outlook VBA and Custom Forms 1
Wotme create email only data file Using Outlook 1
V Backup Calendar, Contacts, Tasks in an POP3 data file Using Outlook 3
e_a_g_l_e_p_i Changing where data .pst is saved to Using Outlook 3
J Deliver new messages to New or Existing Data File? Using Outlook 2
G Outlook 2016: Want IMAP Data Files on My D: Drive and Not C: Drive Using Outlook 1
T vba extract data from msg file as attachment file of mail message Outlook VBA and Custom Forms 1
D Outlook 2016 Unable to load Outlook data pst file Using Outlook 5
V Form data not sending for some users Outlook VBA and Custom Forms 2
D Outlook VBA error extracting property data from GetRules collection Outlook VBA and Custom Forms 10
J Outlook 2013 Change color of text in data fields of contacts in Outlook 2013? Using Outlook 10
T How can Exchange be configured to sync/push one-way so that the server data can't be affected Exchange Server Administration 0
T Extract Data From Outlook Tasks Using Outlook 0
F outlook.com Exchane Server corrupts data Since September 2019 Using Outlook.com accounts in Outlook 6
T Extract Data From Outlook Tasks Using Outlook 0
E To convert imported data to custom fields in Task list Outlook VBA and Custom Forms 1
R "Can't store Outlook data files under the AppData folder. Please choose another folder." Using Outlook 6
C How to export Outlook data to csv? Using Outlook 0
RBLampert Assigning a newly (re)created e-mail account to a specific .pst data file Using Outlook 2
S newly added shared mailboxes downloading 500GB data a day Exchange Server Administration 1
M Using field names to capture a data element Using Outlook 0
S Custom Form, copy user field data to message body Outlook VBA and Custom Forms 12
M Outlook 2016 Requesting data from server Using Outlook 0
G Entered data in custom field goes in card and does not stay in list view Outlook VBA and Custom Forms 1
E Copying data from e-mail attachement to EXCEL file via macro Outlook VBA and Custom Forms 38
Sofia Manni Some of my favorite data in outlook. Using Outlook 2
A Outlook 2016 Will Not Show Any Data In the People Pane Using Outlook 17
A Script to fetch data from mails in restricted collection and sending them to excel Using Outlook 1
Commodore Search cannot complete the indexing of your Outlook data Using Outlook 6
P Microsoft Outlook is requesting data from the server Using Outlook 2
S BCM Auto Backup Data and Customizations BCM (Business Contact Manager) 6
K How to access emails found to be located in "Top of Outlook data file"? Using Outlook 3
M adding corresponding contact form data on a mass scale Using Outlook 5
J Calendar data can be viewed on Outlook.com, but no longer syncs to Outlook 2013 Using Outlook.com accounts in Outlook 3
M Retrieve data from GAL and put it in Clipboard Using Outlook 1
G How to Copy Multi Select Listbox Data to Appointment Outlook VBA and Custom Forms 3
G Using Data From Combo Box in Appointment Body Outlook VBA and Custom Forms 6
P How to copy and append data from Outlook 2016 message into Excel 2016 workbook Using Outlook 0

Similar threads

Back
Top