Weaver
Well-known Member
- Joined
- Sep 10, 2008
- Messages
- 5,197
I had a bit of vbs code that seeded certain strings into the clipboard
I need to use this in excel but as it currently stands, it issues an alert "Do you want this webpage to access your clipboard". Can I override this? Or is there a better way to achieve the same result?
Code:
With CreateObject("internetexplorer.application")
.navigate ("about:blank")
.document.parentwindow.clipboarddata.SetData "text", a
.Quit
End With