name an active worksheet

  • Thread starter djshides via OfficeKB.com
  • Start date
D

djshides via OfficeKB.com

I have a workbook with several worksheets. After entering data into selected
sheets it needs to feed into a letter built in one of the worksheets. A
userform on the letter sheet is used to pick which worksheet the data should
pull from. I have visual basic code written so it pulls from one of the
worksheets at a time, but I would like to write code so it goes to whatever
sheet was selected in the userform. I would REALLY appreciate someone's help
with this as I have been struggling with this for weeks now. Thank you!
 
T

Tieske

if the form returns a worksheet name then you could use the INDIRECT() and
ADDRESS() functions to return the data from that specific sheet.

If this doesn't help, please be more specific on how your solution is
supposed to work.

Tieske.
 

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

Top