ExpressClick Yes

mikeymay

Well-known Member
Joined
Jan 17, 2006
Messages
1,645
Office Version
  1. 365
Platform
  1. Windows
I am using Expressclick Yes program to get round OUtlook asking if it is Ok to send emails that are genereated via a macro.

I tghere a way of turning this faciolity on and off using a macro as I don't want to leave ExpressClick Yes on all the time.


Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I would impliment the auto-click functionality into your macros and then use it at will. Please post your code and I'll edit it with a few simple API functions that will close the dialog in Outlook. Where is your code running from? Excel?
 
Upvote 0
The macro is running via Excel.

I don't have any specific code that starts up ExpressClick Yes as it is installed on my pc and is set to 'Enabled' all the time.

The code for sending the emails tho' is below
Code:
With ActiveWorkbook
    .SaveAs strNotRetnDir & "\20" & strYr & "\" & strPeriod & "\Chqs Not Returned " & Format(dtReportDate, "dd mmm yy")
    If boolNone = True Then
        Else
        .SendMail "joebloggs@.co.uk", "Chqs Not Returned - W/o " & Range("B5")
     End If
    .Close
End With

Not fantastic with VBA, but will hazard a guess that I need to declare the app, switch to 'Enabled' then 'Disabled' via code.

Any help with doing this would be a great help.
 
Upvote 0

Forum statistics

Threads
1,224,903
Messages
6,181,653
Members
453,059
Latest member
jkevin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top