+ Reply to Thread
Results 1 to 2 of 2

new assignment - need help

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    new assignment - need help

    hello all - I'm ivy. I've used excel for years but have a new assignment where my skills need to be kicked up a few notches. Hopefully this question is easily answered.

    Excel 2010 - I need macro or vba code that updates cell value within a workbook to zero, when cell value is less than 1. I know I can write formulas within each individual calculated field to generate this change, but user wants to click a button to update all values at once.

    What code would I use for vba or how would I record a macro to update an entire workbook?

    Example: within cell range C4:L4 -> cells c4,d4,f4,g4,h4, and i4 the cell value less than 0. Need a macro button code to update these values to 0).

    Thanks In Advance!
    Last edited by ivykikoe; 06-25-2012 at 11:02 PM.

  2. #2
    Administrator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,147

    Re: new assignment - need help

    Ivy,

    Welcome to the forum.

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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