Macro Function

  • Thread starter Thread starter thuva
  • Start date Start date
T

thuva

In the module code,i want to write a code with using IF functions.
for that i need to check Sheet cell values.
when i write within a function like this

Sheet.cells([33],[C]) to refer the cell value
excel returns a error #value.
How i can refer a cell in a sheet in macro.
i am willing to write this with out introducing a user form.
thuva
 
Try something like

Sheet1.cells(33,"C").Value

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top