Record certain cell value every cell change on a range of cells

OrangeGhost

New Member
Joined
Jun 15, 2011
Messages
1
I have a cell range ie. C4:CX33, if i put an "x" on a cell within range, a certain seat no calculation will be copied to a column ie. DD1 . If 5 cells selected , 5 values also will be copied or inputted automatically. if cell DD1 has value on it it will put the current value to the next blank cell DD2.

if C4 = x then DD1 = seat no ie 2901.

if C4= x, AA12 = x, BB20 = x then

DD1 = 2901
DD2 = 2125
DD3 = 1152


Seat Calculation =IF(AND(CY37>=3,CY37<103,CY36>=1,CY36<31),(CY37-2)+CY36*100-100,"")

CY37 Calculation (Column) =Cells(37, 103) = ActiveCell.Column
CY36 Calculation (Row) =Range("CY36").Value = Range("B" & Target.Row).Value




Private Sub Worksheet_Change(ByVal Target As Range)

If Not Application.Intersect(Target, Range("C4:CX33")) Is Nothing Then Call MyMacro

End Sub

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Range("CY36").Value = Range("B" & Target.Row).Value
Cells(37, 103) = ActiveCell.Column

End Sub


Sub My Macro
<--- This here i dont know what to do.
End Sub



.http://www.mediafire.com/?jnx818ba67xx6as <-- file here
.http://www mediafire com /?jnx818ba67xx6as
please help
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top