+ Reply to Thread
Results 1 to 3 of 3

How to create chart by VBA?

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    How to create chart by VBA?

    Hello,

    I would like to ask some help regarding that how to create chart by VBA. In my sample there is a chart and I would like if the end user cancel the chart due to any kind of reason after the macro run the chart would be visible again.

    Could somebody help me how to do this?

    The data in the sample file is just demo.



    Thanks in advance the help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: How to create chart by VBA?

    So I'm not sure there's anyone that just knows offhand all of the code for all the formatting commands that go into making a chart look just like you want. That may be an incorrect assumption, but...

    What I would do is start recording, then create the chart exctly as you want it. The code it creates is going to be pretty close to the exact code you need.

    Hope that doesn't sound unhelpful. But it's exactly what I would do when need a chart created VBA.

  3. #3
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: How to create chart by VBA?

    Hi walruseggman,

    Thanks, I try to start somehow.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create a chart from pivot with a specific type of lay out for chart
    By excelas88 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-08-2015, 03:03 PM
  2. vba code to create chart and fix the axis of the chart
    By Sushil.thakur in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2013, 06:14 AM
  3. Replies: 3
    Last Post: 04-07-2013, 07:40 AM
  4. [SOLVED] Chart data file lost - need to re-create from chart?
    By LostExcelData in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-07-2006, 03:00 PM
  5. [SOLVED] Create a combo chart with two of the same chart types
    By Mark Parent in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-13-2005, 09:05 PM

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