+ Reply to Thread
Results 1 to 2 of 2

Excel Macros, PLEASE HELP!

  1. #1
    Registered User
    Join Date
    12-04-2005
    Posts
    1

    Excel Macros, PLEASE HELP!

    Hello all, i'm new to this forum, so could someone please help me! i'm doing a project for university which involves me having to create macros in excel.
    Here is the problem, i have 10 links on the left side of my worksheet. which i need to assign macros to, these macros have to link to various charts, objects etc which are kept in additional worksheets in the same file. anyway i can easily assign the macro to go to another worksheet to display that chart, but how do i assign the macro so that once clicked the chart APPEARS in the current worksheet, so the chart sits to the right of the links, and then when a new link is clicked, the next chart is inserted in place of the old chart.
    please somebody help me, because i'm sure this will end up being an easy problem! i'm just not that well experienced with excel.
    thank you everybody.

  2. #2
    Rowan Drummond
    Guest

    Re: Excel Macros, PLEASE HELP!

    I would have all the charts created on the one sheet, one on top of the
    other. Then your macros just have to hide all charts and unhide the one
    relevant to the link something like:

    With Sheets("Sheet1")
    .ChartObjects.Visible = False
    .ChartObjects("Chart 1").Visible = True
    End With

    Hope this helps
    Rowan

    excelmacrouser wrote:
    > Hello all, i'm new to this forum, so could someone please help me! i'm
    > doing a project for university which involves me having to create
    > macros in excel.
    > Here is the problem, i have 10 links on the left side of my worksheet.
    > which i need to assign macros to, these macros have to link to various
    > charts, objects etc which are kept in additional worksheets in the same
    > file. anyway i can easily assign the macro to go to another worksheet to
    > display that chart, but how do i assign the macro so that once clicked
    > the chart APPEARS in the current worksheet, so the chart sits to the
    > right of the links, and then when a new link is clicked, the next chart
    > is inserted in place of the old chart.
    > please somebody help me, because i'm sure this will end up being an
    > easy problem! i'm just not that well experienced with excel.
    > thank you everybody.
    >
    >
    >


+ 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