1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

VBA programming on excel

Discussion in 'Business Applications' started by cub18, Mar 31, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. cub18

    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
     
  2. MRdNk

    MRdNk

    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.
     
  3. cub18

    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
     
  4. MRdNk

    MRdNk

    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.
     
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/698908

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice