This macro uses a workbook name, but it changes sometimes. Is it possible to ignore it or adjust a different name? I tried to add it as string, but looks like I need something different.
Dim planavimas As String
planavimas = ActiveSheet.Name
Windows("Gamyba.xlsx").Activate
Range("A6:Y36").Select
Selection.Copy
Windows("PlanavimasET-19-01.xlsm").Activate ' << (this workbook name changes)
Range("B4").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False