macro excel 2000

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

running a simple macro to set print area, several print areas in same sheet for different info, want the macro to read what active cell the user is on when the macro is started so the last sting on the marco can return to the users active cell.
 
Hi
try something like
sub foo()
Dim rng as range
set rng = activecell
'... your code
rng.select
end sub
 

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