J
JBURNS
Hello,
Having problems with a dual screen Macro we set-up in the office to deal
with pasting screen captures into ppt. I capture a screen (Print Screen) and
paste it into a PPT slide and run the MACRO (below). The intent of the MACRO
is to crop and paste Screen 1 on the ppt. slide (removing screen 2).
Unfortunately this will work for the first ‘paste’ but then I get the
following error message when I try it on another slide:
ERROR MESSAGE
Run-time error ‘ -2147188160 (80048240)’:
Selection (unknown member) : Invalid request. Nothing appropriate is
currently selected.
CONTINUE END DEBUG HELP
The Macro I am using is:
Sub DualResize()
'
'Macro recorded 12/28/2007 by Kevin Hill
'
ActiveWindow.LargeScroll ToRight:=1
ActiveWindow.Selection.ShapeRange.PictureFormat.CropRight = 760.03
With ActiveWindow.Selection.ShapeRange
.IncrementLeft 0.75
.IncrementTop 0.25
End With
ActiveWindow.Selection.ShapeRange.ScaleHeight 0.87, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ScaleWidth 0.89, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ScaleWidth 0.79, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ScaleHeight 1.534, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ZOrder msoSendToBack
End Sub
My monitors are set at 1024x768 (SAMSUNG SYNCMASTER 910T).
SOFTWARE is Office 2007, Windows XP.
ALT PRINTSCREEN wont work because I'm capturing multiple windows on Screen
1. I've set my security settings to allow MACROS to run.
Any assistance would be appreciated.
Jon
Having problems with a dual screen Macro we set-up in the office to deal
with pasting screen captures into ppt. I capture a screen (Print Screen) and
paste it into a PPT slide and run the MACRO (below). The intent of the MACRO
is to crop and paste Screen 1 on the ppt. slide (removing screen 2).
Unfortunately this will work for the first ‘paste’ but then I get the
following error message when I try it on another slide:
ERROR MESSAGE
Run-time error ‘ -2147188160 (80048240)’:
Selection (unknown member) : Invalid request. Nothing appropriate is
currently selected.
CONTINUE END DEBUG HELP
The Macro I am using is:
Sub DualResize()
'
'Macro recorded 12/28/2007 by Kevin Hill
'
ActiveWindow.LargeScroll ToRight:=1
ActiveWindow.Selection.ShapeRange.PictureFormat.CropRight = 760.03
With ActiveWindow.Selection.ShapeRange
.IncrementLeft 0.75
.IncrementTop 0.25
End With
ActiveWindow.Selection.ShapeRange.ScaleHeight 0.87, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ScaleWidth 0.89, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ScaleWidth 0.79, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ScaleHeight 1.534, msoFalse,
msoScaleFromTopLeft
ActiveWindow.Selection.ShapeRange.ZOrder msoSendToBack
End Sub
My monitors are set at 1024x768 (SAMSUNG SYNCMASTER 910T).
SOFTWARE is Office 2007, Windows XP.
ALT PRINTSCREEN wont work because I'm capturing multiple windows on Screen
1. I've set my security settings to allow MACROS to run.
Any assistance would be appreciated.
Jon