Macro help (VB)

Ian Betteridge

Active Member
Joined
Mar 25, 2006
Messages
472
Hi All,
I've got a worksheet that I want to extract certain data to build a chart. In column A lists the area of work (10 different areas). Using a macro I want to be able create a chart in another worksheet (Chart1). The macro button I want to place on the Chart1 worksheet so I can hide the source data. By creating ten buttons each time a macro each selected a different chart is displayed worksheet Chart1. I can achieve my aim by using a filter on column A but the sheet is used by many and wish it to be simpler for end user by creating the macro. I've enclosed a brief list below but as I've already stated the sheet is actually 176 rows, so all can't be displayed.
Hope someone can help..
Many Thanks
Ian
Hrs Booked CCarr.XLT
ABCDEFGH
1PM01PM02PM03PM04Total Hrs.
2Tech ops J5210019B McCambridge00000
3Tech ops F/C5210031M Heginbottom00000
4Alfs Logistics5210039D Baker00000
5Tech ops F/C5210065D Bentley00000
6Tech ops E5210088S Greaves00000
7Tech ops E5210251G Hitchen00000
8Tech ops H5210316R Maughan00000
9Tech ops J5210442S Hayes00000
10Tech ops J5211639P Howard00000
11Tech ops J5211671D Frazer00000
Table
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,221,607
Messages
6,160,787
Members
451,671
Latest member
kkeller10

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