|
-
March 19th, 2012, 10:02 AM
#1
[RESOLVED] How Do I Paste From Cliboard To Excel?
Good morning all.
I want to copy data from a website and paste it into Excel. Can someone please help me with pasting into Excel?
-Juan
-
March 19th, 2012, 10:24 AM
#2
Re: How Do I Paste From Cliboard To Excel?
Make use of the Clipboard object.
It provides you with the GetData, GetText, GetObject and SetData, SetText and SetObject methods with which you can use to manipulate your data. If you're going to paste into an external program, you'll need the related APIs ( Such as FindWindow and FindWindowEx ) and use it while pasting
-
March 19th, 2012, 05:54 PM
#3
Re: How Do I Paste From Cliboard To Excel?
You can also use the Microsoft.Office.Interop namespace to interact with Excel directly, which will give you a much greater control on how you can transfer the data. You will need to add a reference to Excel, so you will need to have that installed on the computer running your program.
-
March 26th, 2012, 09:09 AM
#4
Re: How Do I Paste From Cliboard To Excel?
Thanks everyone. You guys rock.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|