Hello,
At this moment i have a Excel sheet With 2 macro’s on it that i want to convert to a libre calc form.
Is this possible and could anyone tell me how to translate the macro code?
I have 2 buttons Connected to the following macro’s
"
Sub nextinvoice()
Range(“e18”).Value = Range(“e18”).Value + 1
Range(“A21:d30”).ClearContents
End Sub
Sub SaveInvWithNewName()
Dim NewFN As Variant
'Copy Invoice to a new workbook
ActiveSheet.Copy
NewFN = “C:aaaInv” & Range(“e18”).Value & “.xlsx”
ActiveWorkbook.SaveAs NewFN, FileFormat:=xlOpenXMLWorkbook
ActiveWorkbook.Close
nextinvoice
End Sub
"
The first macro empties the Fields and sums the number in cell E18 With 1.
The other macro saves the xlsm file to a xlsx file som the original file isn’t changed. Is this possible in libre and how?