VBA programming on excel

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

cub18

Thread Starter
Joined
Mar 31, 2008
Messages
2
I was just wondering if anyone could help me with writing a macro in excel. I am fairly new to VBA. I am trying to set up a Macro that will chart data and display values above a target line green and values below the target line red. If anyone can help me with this that would be great!

Thanks,
Matt
 
Joined
Apr 7, 2007
Messages
439
Hi cub18,

Welcome to the forums.

Plenty of people will help you on here, but you need to give a bit more information, and an attached spreadsheet is always a great benefit when attempting to solve issues like this.

It sounds like you just need to use conditional formatting, but again it depends on the details.
 

cub18

Thread Starter
Joined
Mar 31, 2008
Messages
2
thank you and I will try my best... I am trying to make graphs based off of daiy production for certain crews going out and doing work.. I am simply charting on a line chart the footage of pipe they clean each week for example one crew for each week in the month was 1300, 1225, 975, & 1610 all based on ft. I put those numbers on a graph for each week and also graphed the crews target goal of feet cleaned for the week which is 1500 ft. What I am trying to do is get the values that are below that target line to show up red because they were under their goal and give the values above the target line green meaning they have achieved their goal. I was wondering how I would write the macro using excel 2007 or if it can be done using conditional formatting how I would do it that way.

Thanks for your help, I really appreciate it and if I need to go more into detail just let me know!

Matt
 
Joined
Apr 7, 2007
Messages
439
Unfortunately I don't really know Excel 2007 that well. Although I've looked at it, I've seen that its very different.

Your best bet is to take a look at PivotTables and PivotCharts - again, I don't know which Ribbon that's under in Excel 2007. But a google search should lead you in the right direction. I'd also suggest getting some dummy/sample data together and post an attachment.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top