Thread: Column Coding
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
joel[_947_] joel[_947_] is offline
external usenet poster
 
Posts: 1
Default Column Coding


I didn't know your wanted a macro solution. Here if a very simple
macro

LastRow = Range("A" & Rows.count).end(xlup).row
Range("B2").formula = "=(C2*1000000)+(B2*10000)+5000"
Range("B2").copy _
Destination:=Range("B2:B" & LastRow)


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=198747

http://www.thecodecage.com/forumz