Help with a macro

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Hello Friends,

I'm trying to create a macro which gets the value from
the currently selected cell.
For example: if I select cell E6 and run the macro it
copies the value from cell E6 and pastes it to cell P5.
And next time if I select another cell (let's say cell
E9) and run the macro it copies the value FROM THE
CURRENTLY SELECTED CELL E9 and copies it to cell P5.
How can I do this task using ExcelXP?

Thanks again.

Tim
 
Tim,

Range("P5").Value = Activecell.Value

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address 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