I would like to have a VBA code run on one, or more, specific worksheets of a workbook in Excel. But I do not wish to activate the worksheets where the code will run, I wish to have it done in the background and have the results shown on the current worksheet, where there will be a button do call the code. All the responses I have seen to such question require visiting the worksheet where the macro will run but I would like to avoid that. Perhaps putting the code inside a With statement will do the job? I have investigated it but cannot figure out all the dots in front of the lines. I tried to post the code here but I keep getting indentation errors so I will omit it for now.
Thanks in advance.