Macros with Range Selection

I was wondering if I could select something with Range Selection via an automatic method, like a “select range under locators”; so without doing it by hand every time with the mouse.