Worksheet name

  • Thread starter Thread starter ian.qmulus
  • Start date Start date
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
 
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

Similar Threads

Scrabble Value calculation for Welsh words 0
Excel VBA 0
Set non-continuous PrintArea via Function / Name 0
"save as" 0
Macro - onAction arguments 2
Worksheet Names using Macros 5
Excel Highlighting duplicates 0
Excel VBA 1

Back
Top