Worksheet name

I

ian.qmulus

I'm trying to put the worksheet name in a cell in my worksheet.

I cant work out how to do it.

This doesn't work for me Cells(1, 1).Value = Worksheet.Name

Can anyone put m eright please.

Thanks
 
S

Stefi

Cells(1, 1).Value = ActiveSheet.Name
or
Cells(1, 1).Value = Worksheets("wsname").Name
or
Cells(1, 1).Value = Worksheets(1).Name

Regards,
Stefi

„[email protected]†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

Top