ExcelNewbie2020
Active Member
- Joined
- Dec 3, 2020
- Messages
- 346
- Office Version
- 365
- Platform
- 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..
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..