Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2007

Tip: Looking for answers? Try searching our database.

Maintaining Information in a Cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gator - 20 Feb 2007 01:17 GMT
I need to have the information that I input into one cell (cell A) link to a
different cell (cell B) and stay permanent into (cell B).  Then the
information I put into cell A the next day link to cell C and stay permanent
in cell C.  Cell A is alway a working cell and Cell B, C, D, & E and so on
will stay permanent.

Any suggestions?
dkinn - 20 Feb 2007 06:16 GMT
the quick and dirty way, (that is without a lot of error checking would be
something like)

Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Column = 1 Then
   ColCnt = Application.WorksheetFunction.CountA(Range(Target.Row & ":" &
Target.Row))
   Target.Offset(0, ColCnt).Value = Target.Value
End If

End Sub

Put into the worksheet_Change event
Any time a value in column "A" is changed it copies the value to the next
column.
First to B then C then on and on

It's a start.

David

> I need to have the information that I input into one cell (cell A) link to a
> different cell (cell B) and stay permanent into (cell B).  Then the
[quoted text clipped - 3 lines]
>
> Any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.