LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Bi-Directional Cell Linking

Rocky,

You can use the Worksheet_Change event procedure to do this. Put the
following code in the code module for the appropriate worksheet.

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Select Case Target.Address
Case "$A$1"
Range("B1").Value = Range("A1").Value
Case "$B$1"
Range("A1").Value = Range("B1").Value
Case Else
End Select
Application.EnableEvents = True
End Sub



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com



"Rocky Bryant" wrote in message
...
Hello,

Is there a way for me to link cell A1 and B1 together
such that when user inputs 10 into A1, B1 = 10. AND when
user input 25 into B1 then A1 = 25?

thanks for any help or advice...

Rocky



 
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
linking two cells that are bi-directional misscharliebrown Excel Discussion (Misc queries) 2 September 24th 08 09:47 PM
How do I set up a Speed and directional graph houndman Charts and Charting in Excel 0 July 2nd 06 03:11 PM
can you do a bi-directional link in excel Mahmoud Hamed Excel Discussion (Misc queries) 1 April 19th 05 10:47 PM
how do I move and activitated cell with a directional key movemen. steve wingate Excel Worksheet Functions 2 December 18th 04 07:20 PM
Bi-Directional Cell Linking Don Guillett[_4_] Excel Programming 0 October 1st 03 06:17 PM


All times are GMT +1. The time now is 01:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"