Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pasting into another application usin Excel VBA


Is there any way to paste data from the clipboard into another program
using a command button in VBA for excel ? I want to be able to paste
information from Excel to .. say ..an already open and running notepad
... without having to click over to notepad. Any idea if this is
possible ? I know those smiley programs can paste into other
applications .. just not sure if excel vba can handle it. thanks for
the help.


--
SystemHack
------------------------------------------------------------------------
SystemHack's Profile: http://www.excelforum.com/member.php...o&userid=26614
View this thread: http://www.excelforum.com/showthread...hreadid=496617

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default Pasting into another application usin Excel VBA

If you cannot create a reference to the object to which you want to paste,
you can always use the sendkeys method in Excel.
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"SystemHack" wrote:


Is there any way to paste data from the clipboard into another program
using a command button in VBA for excel ? I want to be able to paste
information from Excel to .. say ..an already open and running notepad
.. without having to click over to notepad. Any idea if this is
possible ? I know those smiley programs can paste into other
applications .. just not sure if excel vba can handle it. thanks for
the help.


--
SystemHack
------------------------------------------------------------------------
SystemHack's Profile: http://www.excelforum.com/member.php...o&userid=26614
View this thread: http://www.excelforum.com/showthread...hreadid=496617


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pasting into another application usin Excel VBA

If you want to put your data in a text file, that can be done pretty easily.
(then you could open it in Notepad using the Shell command)
If you actually want to paste it in Notepad, then you can look at the
sendkeys command.

--
Regards,
Tom Ogilvy

"SystemHack" wrote
in message ...

Is there any way to paste data from the clipboard into another program
using a command button in VBA for excel ? I want to be able to paste
information from Excel to .. say ..an already open and running notepad
. without having to click over to notepad. Any idea if this is
possible ? I know those smiley programs can paste into other
applications .. just not sure if excel vba can handle it. thanks for
the help.


--
SystemHack
------------------------------------------------------------------------
SystemHack's Profile:

http://www.excelforum.com/member.php...o&userid=26614
View this thread: http://www.excelforum.com/showthread...hreadid=496617



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell formatting when pasting from a non-Office application Nancy S[_2_] Excel Discussion (Misc queries) 2 June 22nd 09 06:50 PM
ADD MONIES USIN EXCEL SPREAD SHEET valstraw New Users to Excel 2 November 2nd 05 12:35 PM
Application activation and pasting Samuel Barnhouse Excel Programming 4 April 4th 05 09:58 PM
Usin Picture on userform Momo Excel Programming 3 March 4th 05 04:15 PM
How to create Excel, Access and dbf output files from DataSet usin tkaleb Excel Programming 1 December 8th 04 08:26 PM


All times are GMT +1. The time now is 12:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"