79190729

Date: 2024-11-14 23:42:27
Score: 1.5
Natty:
Report link

I'm no expert in VBA, but it seems like it's looping through correctly, but you're applying the cell.value multiplication to the entire column each iteration. What you want instead is to calculate the multiplication to each individual cell, and place that value to the right..

Instead of

Range("C3:C11").Value = Cell.Value * 1.5

You probably want something like

Cell.Offset(0, 1).Value = Cell.Value * 1.5

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: yetchi yeung