I'm trying to edit/select a range of cells.
The cell addresses rely on which cell/s I choose then run a simple script to add 1.
Basically, highlight a range of cells (or 1 cell), then edit all of those at the same time.
This solution only works to set the same value to all the cells:
ActiveSheet.Range("A1:C3").Value = "your value"
If you really want to highlight a range of cells:
ActiveSheet.Range("A1:C3").Select
But if you try to edit the selection only the first cell will have its value changed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.