Skip to content
Facebook page opens in new windowX page opens in new windowInstagram page opens in new windowYouTube page opens in new window
Dilip Ramadas
> Learn > Implement > Excel
Dilip RamadasDilip Ramadas
  • The Exceller
  • The Coder
  • The Foodie
  • The Writer
  • The Traveler
  • Startup Stories
  • Shop
  • Job/Employment
  • Job – Contractor
  • Other Cool Stuff
Facebook page opens in new windowX page opens in new windowInstagram page opens in new windowYouTube page opens in new window
sales@yoursite.com
sales@yoursite.com
Dilip Ramadas Dilip Ramadas Dilip RamadasDilip Ramadas
  • The Exceller
  • The Coder
  • The Foodie
  • The Writer
  • The Traveler
  • Startup Stories
  • Shop
  • Job/Employment
  • Job – Contractor
  • Other Cool Stuff
Facebook page opens in new windowX page opens in new windowInstagram page opens in new windowYouTube page opens in new window
sales@yoursite.com

Code – Lists the sheet names in a workbook

VBABy dilipramadasDecember 15, 2018Leave a comment

Sub Namelist() ‘Lists the sheet names in a workbook Dim i As Integer Sheets.Add Before:=Sheets(1) For i = 2 To Worksheets.Count Sheets(1).Cells(1, 1).Value = “Worksheet names” Sheets(1).Cells(i, 1).Value = Worksheets(i).Name Next End Sub

Code – Unhide sheets

VBABy dilipramadasDecember 15, 2018Leave a comment

Sub Unhide() ‘Unhides sheets in a workbook Dim x As Worksheet For Each x In Worksheets x.Visible = xlSheetVisible Next End Sub

Go to Top