![]() |
Worksheet name
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 |
Worksheet name
Cells(1, 1).Value = ActiveSheet.Name
or Cells(1, 1).Value = Worksheets("wsname").Name or Cells(1, 1).Value = Worksheets(1).Name Regards, Stefi ezt *rta: 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 |
Worksheet name
Great thanks, just had a mental block.
|
Worksheet name
You are welcome! Thanks for the feedback!
Stefi ezt *rta: Great thanks, just had a mental block. |
Worksheet name
If you want a worksheet function solution:
http://www.mcgimpsey.com/excel/formu..._function.html In article .com, " wrote: 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 |
All times are GMT +1. The time now is 06:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com