making a different sheet active

  • Thread starter Thread starter Charlie
  • Start date Start date
C

Charlie

On the currently active sheet cell F2 has the name of the sheet I want to
make active. How do I activate this sheet?
thanks,
ck
 
This should do what you asked...

Worksheets(Range("F2").Value).Activate

Rick
 
on error resume next
activeworkbook.worksheets(activesheet.range("F2").value).select
if err.number <> 0 then
beep
end if
 

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