See the attached Sheet, Double click on Any Cell in Sheet1 it will activate that cell of Sheet2
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Dim st As String
Dim sh As Worksheet
Set sh = Sheets("Sheet2")
st = Target.Address
sh.Activate
sh.Range(st).Activate
ActiveCell.Value = sh.Name & st
End Sub
From: [email protected] [mailto:[email protected]]
On Behalf Of KAUSHIK SAVLA
Sent: Monday, August 01, 2011 6:00 PM
To: [email protected]
Subject: $$Excel-Macros$$ Vba Code required to link every cell of workbook
to another workbook
Hi All,
Vba code required to link whole workbook (every cell of workbook) to another
workbook.
Regards,
Kaushik
--
----------------------------------------------------------------------------
------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links :
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
To post to this group, send email to [email protected]
<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel
--
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links :
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
To post to this group, send email to [email protected]
<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel
Book2.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12
