Excel VBA: How to get text fro0m clipboard?
Hi all,
In my Excell app I need to get text from clipboard, parse it and fill table...
VBA does not support Clipboard object like in VB...
I tried to use API functions, but every time it fails on CopyMemory function:mad:
Any ideas??? Short example will be very useful!
Thanks,
Re: Excel VBA: How to get text fro0m clipboard?
Brian,
I looked at this code, but doesn't seem to work without a form. I am trying to prevent pasting multiple columns in my excel sheet and am totally lost at the moment.
Could you give it a shot?
Regards,
Abhijit
Re: Excel VBA: How to get text fro0m clipboard?
According to "VBA Developer's Handbook", you can use clipboard API's with VBA.
VBAhack
Re: Excel VBA: How to get text fro0m clipboard?
I do not have a copy of the developer's handbook.
I feel that this is something that should be solvable by using excel object.
Re: Excel VBA: How to get text fro0m clipboard?