View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Samantha Samantha is offline
external usenet poster
 
Posts: 24
Default Get value in a cell

How can I get the value from one cell (row=1, column = 14)? I need the value
from this cell as the upper limit for a loop.
I have the following code, but it is not working:

cMaxRows = Worksheets("Complete").Cells(l, 14).Value

I have the following error:
Run-time error '1004': Application-defined or object-defined error.

Can anyone help me with this? Thanks in advance.