Hello,
Apologies if this is not posted correctly, I am new to the sub and would appreciate any help.
I am attempting to accomplish the following with macros in Libre Office Calc:
If cell A1 on sheet1 is modified at all to anything else, then
if cell E1 on sheet2 doesn’t equal anything then
make cell C2 on sheet2 equal cell A1 on sheet1 Else
do nothing
The following is a working Macro in excel that accomplishes the above, I am just having difficulty rewriting this macro in Libre Office:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = “$A$1” Then
If Sheet2.Range(“E1”).Value2 = 0 Then
ThisWorkbook.Worksheets(“Sheet2”).Range(“C1”).Value2 = ThisWorkbook.Worksheets(“Sheet1”).Range(“A1”).Value2
Else
End If
End If
End Sub
If anyone can provide how to accomplish this in Libre Office Calc that would be greatly appreciated.