I am tring to fix a problem.
Like Copy / Special Pasta - divide, i would like to do it in VBA.
For example, I have numbers from A to AA.
I want to divide the range A5:AA5 by 2 completely. It’s like a special paste, divide the values.
It will continue like this until it reaches an empty cell in A6:AA6 / 2, A7:AA7 / 2, and so on.
But i dont want to make each cells divide or Sum of divide, like selecting all C2:H2 and divide by 2.
Anyone can help?

One way to do it is using the PasteSpecial command. The trick is to put the number you want to divide by in a cell, copy it, .PasteSpecial, and then remove the data from that cell. Something like this:
Obviously there are various ways to add data to a cell, delete data, etc. But I wanted to give you a quick example that you can modify to fit your sheet's layout.
If you want to use a loop, here is a way:
Someone smarter than me will have to chime in w/ @BigBen's suggestion of using an array.