Anyone had problems using OLF.Items.Count with Outlook 2010?

Status
Not open for further replies.

Gemma

Member
My dad has written a program for me to capture data from emails and add them to an excel workbook. It is supposed to search my inbox for emails with a specific subject title and once the correct ones have been scanned and the data captured, transfer them to the 'Scanned' folder.

He has tried and tested the program on his outlook 2007 and it works fine except that when the emails are transfered to the 'Scanned' folder, a copy is left in his 'Inbox' which he has to then purge. This is not a problem as it's for my pc, not his.

When it comes to using the program on my outlook 2010, no copy is left in the 'Inbox' however we are getting an error message which relates to a problem with the code line With OLF.Items(i).

Just wondering whether this could be the result of a difference between the 2007 and 2010 versions of Outlook and if anyone knew anything about it?

Many Thanks,
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A from Arthur to anyone I need your expertise assistance Using Outlook.com accounts in Outlook 7
O Importing Mbox - anyone out there having experience with this tool... Using Outlook 3
J Can Anyone Help?? Outlook VBA and Custom Forms 1
M can anyone recommend an alternative to DS auto-followup? Using Outlook 2
V Anyone Using CodeTwo Sync for iCloud ? Using Outlook 28
S Anyone know how to transfer Outlook Express "Identities" to Outlook 2010 ... Using Outlook 1
M Anyone with this Microsoft Outlook issue can help? Using Outlook 1
C Anyone found a way to customize search? BCM (Business Contact Manager) 5
D Does anyone understand Outlook 2010??? Using Outlook 1
J Does anyone know if there is a theoretical limit to the number of personal folders permitted within Using Outlook 2
S My Outlook Filing Cabinet has disappeared! Does anyone know how I get it back?? Using Outlook 1
A Need to upload Pic in Microsoft Outlook... Can anyone suggest How? Using Outlook 1
K Does anyone know how to turn off auto capitalization in Outlook 2007 running on Windows 7? Using Outlook 6
R Anyone have a sample macro for Outlook 2007 (setting the zoom)? Outlook VBA and Custom Forms 1
M Export-Import .pst file problems Using Outlook 2
V iCloud calendar sync problems Using Outlook 13
T Many problems with outlook.com - will upgrade to Outlook soon Using Outlook 1
cricket1001 Problems with calendar syncing Using Outlook 0
P Syncing problems with add-ins Using Outlook 3
T problems with Contacts Using Outlook 8
P Problems with Standss new Quickfile 6 Using Outlook 3
Q Problems with Autodiscover Outlook 2016 Using Outlook 0
D Outlook 2013 Yahoo IMAP Sync problems Using Outlook 1
M Indexing Problems Outlook 365 Using Outlook 2
M I'm Having problems Moving Contacts to a New List Using Outlook 8
C 2016 Outlook Certificate Problems Outlook VBA and Custom Forms 3
D Archiving Problems Using Outlook 6
M Recent Update Did not Fix Search Problems Using Outlook 7
S Problems syncing emails with webmail after changing to Outlook 2016 Using Outlook 1
crazyboy Problems connecting to BCM on Server Using Outlook 2
J Problems connecting to BCM BCM (Business Contact Manager) 16
O Folder Pane problems Using Outlook 5
M Problems Downloading Content from Server(s) Using Outlook 0
O Outlook 2013 Problems sending large mails Using Outlook 4
Diane Poremsky iCloud and Outlook Problems: Syncing Calendar New Slipstick.com Articles 0
G Outlook problems Using Outlook 2
D Calendar view problems with reading pane open Using Outlook 0
A Two Problems with BCM BCM (Business Contact Manager) 0
G Problems with Active Directory Rights Management Services (AD RMS) in Outlook 2013 Exchange Server Administration 0
A Problems Opening Excel from Outlook Outlook VBA and Custom Forms 3
T Outlook Connector calendar sync problems with Android phone Using Outlook.com accounts in Outlook 1
J Outlook 2010 sync problems with Outlook Connector Using Outlook 1
B Outlook being closed causing problems during copy to Excel Outlook VBA and Custom Forms 6
A Problems with Outlook Connector in Outlook 2010 Using Outlook 2
V Please help if you can. Problems with Bcc BCM (Business Contact Manager) 3
J problems downloading POP3 emails to Outlook 2003 Using Outlook 1
THOMAS BRAXTON Microsoft Office 2010 problems Using Outlook 1
tswatek Inbox problems after adding MS Exchange email Using Outlook 2
B two unrelated problems Using Outlook 2
Felix Deleted emails sync problems Using Outlook.com accounts in Outlook 1

Similar threads

Top