bigbuckaroo
Technical User
Greetings all,
This is really my first attempt at using VBA so please be kind and if more information is needed let me know and I will try to provide it.
I have a computer that is seperate from the company IT network and connected to our production floor. Call this Production Server computer. This computer is connected to various prodction machines to collect data, anounce alarms and such. The software running on the computer to do this is Allen Bradley RSVIEW 32 if that makes a difference. Every day there are numerous files generated by the software that are of the DBF type. This is the only file type that is available. The computer also has Microsoft Outlook installed.
What I would like to do is use a VBA routine in conjunction with the data collection software and Outlook to email myself a copy of the saved DBF files maybe as an attatchment. Then I would like to use Excel on my computer to sort the data and such. Basically the initial problem is I do not know how to program VBA to send an attachemtn via email. I also have installed on this computer the Outlook Redemption software to bypass the seceurity warnings in Outlook.
Can anyone provide an example or a nudge in the right direction?
Thanks
Tom
This is really my first attempt at using VBA so please be kind and if more information is needed let me know and I will try to provide it.
I have a computer that is seperate from the company IT network and connected to our production floor. Call this Production Server computer. This computer is connected to various prodction machines to collect data, anounce alarms and such. The software running on the computer to do this is Allen Bradley RSVIEW 32 if that makes a difference. Every day there are numerous files generated by the software that are of the DBF type. This is the only file type that is available. The computer also has Microsoft Outlook installed.
What I would like to do is use a VBA routine in conjunction with the data collection software and Outlook to email myself a copy of the saved DBF files maybe as an attatchment. Then I would like to use Excel on my computer to sort the data and such. Basically the initial problem is I do not know how to program VBA to send an attachemtn via email. I also have installed on this computer the Outlook Redemption software to bypass the seceurity warnings in Outlook.
Can anyone provide an example or a nudge in the right direction?
Thanks
Tom