Hello friends

I am using the following code to run a regression analysis, it works fine but has 2 problems:

1) It overwrites the cells format (I want to keep cells style format)

2) It promotes me about replacing the content of cells (I have 55 tests and can't click "ok" 55 times)

thanks in advance

Application.Run "ATPVBAEN.XLAM!Regress", Sheets("Data").Range("$H$" & start & ":$H$" & limit) _
        , Sheets("Data").Range("$K$" & start & ":$L$" & limit), False, False, , Sheets("Tests").Range( _
        "$C$" & target), False, False, False, False, , False