+ Reply to Thread
Results 1 to 3 of 3

Opening a worksheet with an auto shape button

  1. #1
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Opening a worksheet with an auto shape button

    Hi

    I have created a menu on my spreadsheet to open user forms with auto shape buttons which work fine. I have created another auto shape button which i want to open a hidden worksheet. Is this possible and if so how do i go about it.

    Any help greatly appreciated

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Opening a worksheet with an auto shape button

    Add the shape, right click & choose assign macro-> new

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

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

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    09-26-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    182

    Re: Opening a worksheet with an auto shape button

    Roy
    Once i loaded the code and click on button this error message appears
    Compile error
    Invalid inside procedure

    This is the code i loaded
    Sub AutoShape17_Click()
    Option Explicit

    Sub Trapezoid1_Click()
    With Sheet1 '<- change sheet as required
    .Visible = xlSheetVisible
    .Select
    End With
    Any ideas

+ 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