Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 324
Default Pasting to MSPaint

I found this bit of code in an earlier post from sportsguy and have had no
luck whatsoever getting it to work. It does activate MsPaint but the paste
process goes nowhere seemingly.

Public Sub Paste2Paint()

On Error Resume Next

Dim ActivatePaint
ActivatePaint = Shell("c:\WINNT\system32\mspaint.exe", 1)
ThisWorkbook.Activate
Range("ExecutiveSummarywFcst").Select
Application.CutCopyMode = False
Selection.Copy
AppActivate ActivatePaint

SendKeys "^V"
SendKeys "^S"


End Sub


Obviously something else is needed but I cannot find it. Any help will be
greatly appreciated.
--
Best wishes,

Jim
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
pasting David Gerstman Excel Worksheet Functions 2 July 13th 07 08:02 PM
Pasting Raman325[_36_] Excel Programming 1 May 16th 06 05:08 PM
Pasting help Ambrosia[_6_] Excel Programming 6 November 21st 05 03:25 AM
Pasting on Filtered Data Sheets without pasting onto hidden cells CCSMCA Excel Discussion (Misc queries) 1 August 28th 05 01:22 PM
Pasting numbers and formulas without pasting format. Dan Excel Discussion (Misc queries) 3 March 27th 05 03:47 AM


All times are GMT +1. The time now is 06:16 PM.

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

About Us

"It's about Microsoft Excel"