+ Reply to Thread
Results 1 to 4 of 4

Create a command button to format a group of worksheets

  1. #1
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    Create a command button to format a group of worksheets

    How do I create an array of worksheets so that I can format them globally? This is to format specific reports. The macro would be attached to a command button on the first sheet?
    The worksheets are named and can be variable. I need to group all the sheets except the first sheet.

    Thanks!

    Veronica

  2. #2
    Forum Contributor SOS's Avatar
    Join Date
    01-26-2004
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    327
    Hi veronica,

    Something like this should get you on your way. Attach it to a Command Button placed on Sheet 1

    Please Login or Register  to view this content.
    Hope this helps

    Seamus

  3. #3
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    Smile Thanks!

    That worked absolutely perfectly... I just had to use wks.Name to activate the worksheet.

    Thanks so much!!!!

    Veronica

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by vjboaz
    That worked absolutely perfectly... I just had to use wks.Name to activate the worksheet.

    Thanks so much!!!!

    Veronica
    You don't need to Activate the sheets to format them.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

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