Linked cell

  • Thread starter Thread starter Raul Sousa
  • Start date Start date
R

Raul Sousa

Hi,
I have this code, which someone provided me.
(…)
NewWS.Cells(xx% + 1, 2).Value = Sheets(xx%).Range("c271").Value
(…)
My goal is to have in NewWS.Cells(xx% + 1, 2) a link instead of the value.
Any help is most welcome.
 
Raul,

NewWS.Cells(xx% + 1, 2).Formula = "='" & Sheets(xx%).Name & "'!C271"

HTH,
Bernie
MS Excel MVP
 

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