Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50139

miner help needed on a macro plz

$
0
0
hello everyone, recently i was provided with the macro which i have listed below its a great formula and its doing quiet a decent job on my project on one sheet, but however i would like to link columns from different sheets, the person who provided me the formula did say something about adding sheet1 behind where its written range i tryed it but unfortunately it didn't work cuz im not familiar with the macro's can someone plz help me edit the macro to look and link columns from different sheets ? and thank you in advance! :)


Private Sub worksheet_change(ByVal target As Range)
If target.Column = 5 Or target.Column = 10 Or target.Column = 15 Then
Application.EnableEvents = False
i = target.Row
v = target.Value
Range("e" & i).Value = v
Range("j" & i).Value = v
Range("o" & i).Value = v
Application.EnableEvents = True
End If
End Sub

Viewing all articles
Browse latest Browse all 50139

Trending Articles