Quick Question???

  • Thread starter Thread starter hemants
  • Start date Start date
H

hemants

can i use macro's in cells on a worksheet? If possible, how would
type it out.

i.e. in cell G5 = (activecell.value = G1&"!$G$4")

or something to that effect without havnig to create a macro
 
You cannot call a macro from a cell, only a function which will return a
result.

However, from your example what you seem to need in G5 is simply

= INDIRECT(G1&"!$G$4")
 

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