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
350
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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Is there something somewhere setting your CutCopyMode to False?
 
Upvote 0
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,225,072
Messages
6,182,698
Members
453,132
Latest member
nsnodgrass73

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