How to send formated text to the clipboard for excel sheets???
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: How to send formated text to the clipboard for excel sheets???

  1. #1
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Question How to send formated text to the clipboard for excel sheets???

    In my application, when I press the CTRL + C, the text got copied to clipboard and now I can paste it in other applications, fine no problem.

    But I want formated text, not the plain text, I've managed to do that with MS-Word, now I want to do it with excel too, but its not working like that.

    Anyone have any ideas, how to do that? Any help in this matter will be highly appriciated & thanx in advance.

  2. #2
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211
    What???

    No replies....Come on guys....there should be some way for that.

  3. #3
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588
    One way to find out is to copy something from Excel into your application and then check which clipboard formats it provides.
    Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
    Supports C++ and VB out of the box, but can be configured for other languages.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center