Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSChart & Clipboard

Status
Not open for further replies.

Itsari

Programmer
Mar 28, 2004
9
0
0
GB
Hi everyone, I was hoping someone could tell me if there is an easier way to get the results from an MSGraph displayed in a listbox.
When the graph is created .EditCopy - copies the graph to the clipboard, so i have the code
results = Clipboard.GetText(vbCFText)
Results does hold the data i require but it has lots of end of line characters (chars like |123 |323) but it doesnt paste correctly.
Listbox.additem Results

How can i get rid of these characters??
Or is there anyother way?


Another query i have is - can i not paste an MSchart to a word document within VB ie not having any macros using paste special the word document.


Any suggestions would be greatly appreciated!





 
* sorry that should be MSChart, not MSGraph!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top