![]() |
Selecting a variable Range
Hi everyone,
I am having issues selecting a variable range. This is basic but I am not a heavy user of VBA. p = Range("startdate").Value q = Range("enddate").Value Sheets("Data-Sales w Macro").Select Range("G29").Offset(0, p).Select I am attempting to select the range between and including P and Q. P and Q are drop down boxes. The code above selects the cell from startdate, but my problem is the rest. Sorry for the easy question. I appreciate your answers. |
All times are GMT +1. The time now is 10:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com