+ Reply to Thread
Results 1 to 2 of 2

Macro to Auto-Insert Customized Chart Template

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    11

    Macro to Auto-Insert Customized Chart Template

    Hi,

    Could someone please provide guidance on the following. I would like to create a macro that essentially chooses Insert > Charts > Templates > and chooses a certain template > OK and insert the chart on the same sheet.

    I want this to be relative so that it will automatically run based on whatever cells I have selected.

    Thank you so much!

  2. #2
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague, Czech rep.
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    138

    Re: Macro to Auto-Insert Customized Chart Template

    Hi,

    the first part i believe you can manage by yourself and the MS excel feature - record macro. Regarding the second part (relative selection etc.), there are ways of getting that done, but uŽd need to provide more info about your file, i mean the structure of the data (if they are with or without empty columns / rows) etc. cause it can be done easier or harder way as everything and it would be waste of time to pull out impenetrable code just to realize you had quite consistent and simple datasheet

    also, if you wanna run the macro semi / fully automatic, you need to put the recorded macro in the specific sheet and choose between change or selectionchange -- in this cause you wouldnt need to triger the macro by pushing the button or whatever it will be just enough to select what you desire to format and macro should run

    PS -- the recorded macro will require a bit of tinkering due to the absolute values (u might wanna use the relative recording but...to give more specific answers IŽd need more specific info - or a simple sample)...

    Best regards

    Soul

+ 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. [SOLVED] auto prompt file insert object when opening a template
    By romeeko in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2006, 10:45 PM
  2. Can I create an auto update chart in a template
    By Allan in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 05-08-2006, 04:40 PM
  3. customized template w/formulas
    By ROCKWARRIOR in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-03-2006, 06:25 PM
  4. [SOLVED] How do I create a customized template?
    By Melissa in forum Excel General
    Replies: 1
    Last Post: 03-09-2005, 11:06 PM
  5. Insert auto serial number in Excel template
    By Van Gel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2005, 10:06 AM

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