Link to home
Start Free TrialLog in
Avatar of cantrell
cantrell

asked on

Can't read from clipboard - ERROR

I am getting a "run-time error 521 - Can't read from clipboard" when I do this:
str = Clipboard.GetText

anyone know why?
Avatar of mcrider
mcrider

"str" is a reserved word...

Have you tried:

Dim MyStr as String
MyStr = Clipboard.GetText


Cheers!
Avatar of cantrell

ASKER

I'll check this. It works on most systems, but just on one, it get's the 'Can't Read from clipboard' error message, so I don't think it's the variable name.
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Glad I could help...

Cheers!