View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Neal Miller Neal Miller is offline
external usenet poster
 
Posts: 4
Default Code runs different in a commandbutton than a macro why?

Thanks, I had not even caught the misspelled word thanks for the help.

so if I wanted to parse the workbook for used cell to set the range here

For Each c In Worksheets("ART Report").Range("P3:P10")

would I use a simalar code as

with worksheets("Paid Recievables")
set rng = .cells(.rows.count,1).end(xlup).offset(1,0)
end with

New to VBA and VB what is a good learning source on the web?

Neal Miller