#1   Report Post  
Posted to microsoft.public.excel.misc
climax
 
Posts: n/a
Default print screen


Hi,

I need a screenshot of my desktop triggered by exel.

something like:

if Range("a1").Value = 1 then PRINTSCREEN

Can it be done?

Thanks


--
climax
------------------------------------------------------------------------
climax's Profile: http://www.excelforum.com/member.php...o&userid=30816
View this thread: http://www.excelforum.com/showthread...hreadid=516576

  #2   Report Post  
Posted to microsoft.public.excel.misc
ChelseaWarren
 
Posts: n/a
Default print screen

Enter this code in the sheet object (not a regular module)

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim WatchRange As Range
Set WatchRange = Range("A1")
If Range("A1").Value = 1 Then
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End If
End Sub

"climax" wrote:


Hi,

I need a screenshot of my desktop triggered by exel.

something like:

if Range("a1").Value = 1 then PRINTSCREEN

Can it be done?

Thanks


--
climax
------------------------------------------------------------------------
climax's Profile: http://www.excelforum.com/member.php...o&userid=30816
View this thread: http://www.excelforum.com/showthread...hreadid=516576


  #3   Report Post  
Posted to microsoft.public.excel.misc
ChelseaWarren
 
Posts: n/a
Default print screen

Correction to previous reply:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim WatchRange As Range
Set WatchRange = Range("A1")
If Union(Target, WatchRange).AddressLocal = WatchRange.Address Then
If Range("A1").Value = 1 Then
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End If
End If
End Sub

"climax" wrote:


Hi,

I need a screenshot of my desktop triggered by exel.

something like:

if Range("a1").Value = 1 then PRINTSCREEN

Can it be done?

Thanks


--
climax
------------------------------------------------------------------------
climax's Profile: http://www.excelforum.com/member.php...o&userid=30816
View this thread: http://www.excelforum.com/showthread...hreadid=516576


  #4   Report Post  
Posted to microsoft.public.excel.misc
climax
 
Posts: n/a
Default print screen


I need a code that does the same as when I press the print screen
button.
It has to take a picture of my whole desktop and copy it to the
clipboard.
I need to see some results on other programs that are running together
with exel.

Thanks
Johan


--
climax
------------------------------------------------------------------------
climax's Profile: http://www.excelforum.com/member.php...o&userid=30816
View this thread: http://www.excelforum.com/showthread...hreadid=516576

  #5   Report Post  
Posted to microsoft.public.excel.misc
rsenn
 
Posts: n/a
Default print screen


Go to download.com and find screen capture programs. I use one called
Screenprint32. Snagit is another good one.


--
rsenn
------------------------------------------------------------------------
rsenn's Profile: http://www.excelforum.com/member.php...o&userid=29050
View this thread: http://www.excelforum.com/showthread...hreadid=516576

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
How do I get a pasted screen print to appear? Fecha1776 Excel Discussion (Misc queries) 0 July 26th 05 05:31 PM
Words wrapped differently on screen and on print preview Merike Excel Discussion (Misc queries) 4 June 26th 05 04:21 AM
In Excel 2003 Is it possible to print a split screen in a spreadsh Cel Excel Discussion (Misc queries) 2 April 22nd 05 10:11 PM
Print and Print Preview don't match screen JNohl Excel Worksheet Functions 0 March 11th 05 05:23 PM
Difference between screen view and print POM Excel Discussion (Misc queries) 1 March 1st 05 08:16 PM


All times are GMT +1. The time now is 05:08 AM.

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"