Selection.paste not working on ms word 2024
Sub DuplicateLine() Selection.MoveUp Unit:=wdLine, Count:=1 Selection.EndKey Unit:=wdLine, Extend:=wdExtend Selection.Copy Selection.MoveDown Unit:=wdLine, Count:=1 Selection.Paste End Sub This is a module where a duplicateline generates below as soon as macro is trigerred. It was working perfectly on ms word 2016. But on ms word 2024 this macros not working. It is Giving a runtime error. Please Help […]