I copied the Rsearch code into VBA and the formula is available now in Excel. However when I select the cells I want to use in the Thomson Reuters search bar, it says "inactive cells selected". I am not sure what is the problem, does anyone have any idea?