Thread: Macro
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gustavo Strabeli Gustavo Strabeli is offline
external usenet poster
 
Posts: 27
Default Macro

Hi there!

Can anyone please inform how I can built a macro to apply a formula to some cells?
In other words, I need a button to click on it and have below formula applied from cell M13 until the last data in the same column M.
Formula is: =IF(OR(L13="40HC";L13="40RH");K13*2,25;IF(LEFT(L13 ;2)="40";K13*2;K13))

Thanks a lot.
Gustavo.