Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
pasting | Excel Worksheet Functions | |||
Pasting | Excel Programming | |||
Pasting help | Excel Programming | |||
Pasting on Filtered Data Sheets without pasting onto hidden cells | Excel Discussion (Misc queries) | |||
Pasting numbers and formulas without pasting format. | Excel Discussion (Misc queries) |