Thread: macro
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
VLOOKUP fORMULA  VLOOKUP fORMULA is offline
external usenet poster
 
Posts: 32
Default macro

dEAR aLL,

Can anybody help me please....

Here is a simple macro which copy formulas from B9 till B33
Is there any way I can name the cell B40 as "END" and copy the formulas
until END
if so what I should add more in this code?

Sub Macro1()
' Macro1 Macro

Range("B9").Select
Selection.AutoFill Destination:=Range("B9:B33"), Type:=xlFillDefault
Range("B9:B33").Select
End Sub

Thanks