RTE:4605 - This Method or Property is not available because the clipboard is empty or not valid

ExcelNewbie2020

Active Member
Joined
Dec 3, 2020
Messages
346
Office Version
  1. 365
Platform
  1. Windows
Sirs,

I have a vba script that is working. It copy and paste a certain range from excel then paste it to outlook then sending it to a recipient. It works properly if i use a button to run it.

I thought of automating the sending of email every 5PM instead of hitting a button. So i used the line below.

Private Sub Workbook_Open()

Application.OnTime TimeValue("17:00:00"), "SendmanpowerInEmail"

End Sub

However, its not sending it gives this
RTE:4605 - This Method or Property is not available because the clipboard is empty or not valid.

Is there in any way to fix this?. thank you..
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Is there something somewhere setting your CutCopyMode to False?
none..i searched from the whole module.. i replaced the time when my computer is active and it works smoothly.. Maybe the issue arise when my computer is idle?
at 5PM my computer is lock but my excel file and outlook are open..
 
Upvote 0
Possibly. If the machine is in Sleep mode. Have you investigated Windows Task Scheduler?
 
Upvote 0
Possibly. If the machine is in Sleep mode. Have you investigated Windows Task Scheduler?
sleep is already set to "Never".. maybe the issue here is not the script.. I will try task scheduler to activate the excel file before macro starts.. thankyou
 
Upvote 0

Forum statistics

Threads
1,223,996
Messages
6,175,864
Members
452,678
Latest member
will_simmo

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