Hello,
I have this code
this of course works, but only If active sheet is MyB ... when I active different sheet, It doesnt work .. why? How could I fix it? Of course I can activate sheet MyB and then do this, but I'd prefer another solution, If there is any ... thanks !
I have this code
Code:
Range("MyB!O2:O10").Select
Selection.AutoFill Destination:=Range("MyB!O2:S10"), Type:=xlFillDefault