Thread: macro
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default macro


You could use a directly written macro like the one below which will
take every cell in the selected area and divide by 1000

Sub Divide
For Each Cell in Selection
Cell = Cell/1000
Next Cell
End Sub


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=549635