L
Ltat42a
Can you put a link in a cell, that when you click on it, it will prin
the current worksheet? How?
Thanx
the current worksheet? How?
Thanx
Nick said:You could use the Workbook_SheetSelectionChange event if you want thi
to
happen on all worksheets. If it is a specific sheet then use the
worksheet_SelectionChange event behind the sheet concerned...
Code like that below will work (Using selection on A1 on an
worksheet)
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVa
Target
As Range)
If Not Application.Intersect(Target, Range("A1")) Is Nothing Then
Sh.PrintOut
End If
End Sub
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
[email protected]
"Ltat42a" <[email protected]> wrot
in
message news:[email protected]...