I create a excel file with vba code in excel 2013 (64 bit version). When I copied the excel file in to another machine which has excel 2013 (32 bit) I have to go to the vide code and compile the code to execute the vba code. I am simply doing change a cell value based on the selection.
Anybody have an idea what is it about?
Thanks
<< adding code>>
Private Sub Worksheet_Change(ByVal Target As Range)
Dim versionId As String
versionId = Range("B2").Text
If (Target.Column = 2 Or Target.Column = 1 Or Target.Column = 4) And Target.Row > 15 Then
Application.EnableEvents = False
Dim Row As Range
For Each Row In Target.Rows
Cells(Row.Row, 1).Value2 = "TRUE"
Next Row
End If
Application.EnableEvents = True
End Sub