Results 1 to 2 of 2

Macro for all tabs Headers and Page breaks

Threaded View

  1. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Macro for all tabs Headers and Page breaks

    How is this for starters?

    Sub AddSheets()
      Dim Ccell As Range, Rng As Range
      Set Rng = Range(Worksheets("Companies").Range("A1"), Worksheets("Companies").Range("A65536").End(xlUp))
      For Each Ccell In Rng
        Worksheets.Add After:=Worksheets(Worksheets.Count)
        Worksheets(Worksheets.Count).Name = Ccell
      Next
    End Sub
    Attached Files Attached Files
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1