I have the code:
Dim a As Outlook.Application
Dim b As Outlook.MailItem
Set a = New Outlook.Application
Set b = a.CreateItem(olMailItem)
.To = mstrEMail
.Subject = "Commission Report"
' .BCC = "firstname.lastname@example.org" '
.Attachments.Add oFolder.Path & "\" & oFile.Name
.Body = "Attached is your Commission Report."
I don't want to send. I want to put everything into the Drafts folder first. How can I do it?
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.
There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.
What are they?
An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…