Excel Chart and VBA

dmj120

Active Member
Joined
Jan 5, 2010
Messages
286
Office Version
  1. 365
  2. 2019
  3. 2010
Ok.....
As I learn more about VBA, it SEEMS as though most everything that can be with formulas/formatting can be done with VBA - and to a 'higher' level.

Is this true with charts??? :unsure:

I am creating "template file" that is used to standardize nomenclature before pricing/vetting/importing inventories ---- many variables of non-standard Make/Model/descriptions (my biggest headache with acquiring new accounts).

The below image is an example of a chart I created to ensure I'm "above the estimated trend (of daily progress needed to achieve goal).

Can a similar chart be 'coded' in VBA so the "targeted average trend" (ie grey dotted lines) are automatically populated based upon the start and dates?

fyi - chart dates are: due by 7/9, but my target is 7/5 (the vertical dotted line).......gotta be better than expectations ;)

1623973036170.png
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
FYI, the "trend tab" screenshot. In case it helps to add a little more context.

1623975811098.png
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top