I am calling an R function in Excel using VBA code Application.run("BERT.Call",..)
. It is working successfully. But to do this, I need to select the cells for printing output.
Suppose I want to get output of Summary() of R in Excel using BERT.Call then at first I need to select 6 column cells where my output will be shown or else I need to pass the range through VBA code itself.
My question is:
Is there any way for which the user don't need to select/enter range and output of any size(variable size) can be obtained using BERT.Call to call R function in Excel VBA code?