Ah ha! Progress
Dim OA As Outlook.Application
Dim NS As Outlook.NameSpace
Dim MF As Outlook.MAPIFolder
Dim MI As Variant 'Outlook.MailItem
Set OA = New Outlook.Application
Set NS = OA.GetNamespace("MAPI")
Set MF = NS.Folders("Mailbox - Applications").Folders("Inbox")
For Each MI In...
sadly not. If MI.Class = olMail Then, olMail isn't set to anything. if i take out that line and it's endif, then the first record gets read. it trips on A = MI.SenderName saying Object doesn't support this property or method
in your first example if changed the For line to 'For Each olMail In olFolder.Items'
This does the same thing, it stops at the 5th email which is the first one not from Applications@. if i move it on to the next email it will work until i get to the next one not from Applications@. Problem is...
Set olApp = New Outlook.Application
Set olNamespace = olApp.GetNamespace("MAPI")
Set olFolder = olNamespace.Folders("Mailbox - Applications").Folders("Inbox")
Set olMail = olFolder.Items.GetFirst
jNoEmails = olFolder.Items.Count
For J = 1 To jNoEmails
Set olMail...
A reboot seems to have fixed it. It was rebooted after the vm was setup, seemed to want another one. I swapped back to the old server and guess what, the Monitor doesn't work on that either. We only use this system for the odd look up of stuff that didn't get imported to our new accounts system...
I have the tables linked to an Access programme, I can see the data fine. But we cannot run the executable, error 49153. It's a very old copy of Accpac we use for some historical lookups, version 5. something.
If I remote onto the server and look at the odbc's, i get 'An error occurred while...
We are autoresponding to emails to a specific mailbox with a standard message. what i've been asked to do is to reply so that they (the senders) know which email we are responding to, maybe by including their original text. It has to be server side. I can't figure out how to do this. Does anyone...
The detail height should be 99mm. However if i set it to this i get an unwanted 1cm border at the top and the 3rd doesn't fit on the page.
The only way I can get 3 on a page is to set the detail height to 95mm or so.
Madawc, i don't really understand what you mean. The page and report headers...
Well no, the user went back to the old paper and i restored the old report with the smaller detail height. Worked fine. I don't understand where the 1cm top margin has appeared from, that's what the problem is.
Can't abide Crystal, maybe it has noticed and decided to be awkward
The report just has a detail section, no header or footer and 0 margins.
It shows the data for one cheque which prints on a preprinted A4 page with 3 cheques one above the other.
The old cheque paper which worked fine, had 3 cheques and a 5cm tear off strip on the bottom.
The new cheque layout...
This is extremely weird.
We have half a dozen Brother 5380's and some 5270's and other printers. They are all installed on a server and used over the network. We have software that selects a printer and tray (each tray has a different variety of headed paper) and prints the letter.
I was off...
We have one staff member who has constant problems with Excel. He uses a couple of excel files which are on shared drives on a server.
Sometimes excel just closes for no reason, sometimes he gets a vba library error message as in the title.
Other people use the same files and never have a...
I don't know if things have changed, but I've always understood that inserting things like pictures and pdf's into a database was a bad idea. I display documents from our document imaging system which in folders on a server on some Access forms. I just use shellexecute to display them.
We've...
Thanks.
I found my basic problem was that I'd put it in the wrong folder so it didn't stay checked.
Office 2010 seems ok to my surprise, not so annoying as 2007
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.