If I try to execute a macro whit the procedure header being like this: Sub test (Byval Target As Range)
it doesn't work, instead a new window called Macros comes up.
I have tried older codes that I have saved in a .txt and that I know worked befor but it's still the same problem.
It is not a problem when im trying to run macros like: Sub test()
Sub test() 'Works
Sub test (Byval Target As Range) 'Doesn't Work
I am new to VBA and fairly new to Excel tbh, so i did not know where to turn.
Bookmarks