Customizing Macros

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

Guest

Hi,

I am making a spreadsheet with different tabs for different projects i am
running. I have made a front page, now i want to be able to type in the name
of the sheet and the macro should be able to pick that name up and go to that
sheet and pick the values as i have recorded it to. Therefore keeping the
cell references same but changing the sheet.

All help will be appreciated.
Thanks
 
First Select sheet, then use ActiveSheet.Range(...)!
If sheet name is entered, say, in A1, then
Worksheets(Range("A1").Value).Select

....
ActiveSheet.Range(...)

Regards,
Stefi

„Haseeb†ezt írta:
 

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

Similar Threads

problems getting this macro to work 23
Help to create a macro 2
Pasting cell contents into a macro 1
Macro in Background 2
Excel Move or Copy Stopped Working? 0
Macro for active sheet only 4
Macro Failure 6
VBA? Macro? 0

Back
Top