+ Reply to Thread
Results 1 to 4 of 4

Active to static VBA req

  1. #1
    Forum Contributor
    Join Date
    01-19-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Office 365 2016
    Posts
    214

    Active to static VBA req

    Lo again everyone,

    Happy Fridays! \o/ Can't wait for a wknd of EVE-O!

    Oiy, so here's a question: I have a row of YTD values that I want to make static once the date exceeds that column's respective month (ie, Jan passed, stop pulling updated data using that formula). I am trying to not remove the formula, still have the result, but not update using the existing formula in that cell.

    To better explain the philosophy.

    I have sales data that are "active" jobs, month closes and we prepare compensation reports for payroll, process payroll, etc. Then, as February continues January sales will close resulting in higher figures for Jan in Feb. However, we want to maintain on our doc that at End Of Month compensation value with a YTD rolling in a separate row (already have), but I don't want to degrade my formula by typing over it for the cell in question.

    Suggestions?

    Thanks
    Kondukt
    Last edited by Miskondukt; 02-10-2014 at 03:13 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Probably too much of a programming need than Excel-FU

    add a test to your formula that checks to see if Jan end has been reached, and only summ to end of Jan. Are your dates real dates, or text dates?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Probably too much of a programming need than Excel-FU

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    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.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    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]

  4. #4
    Forum Contributor
    Join Date
    01-19-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Office 365 2016
    Posts
    214

    Re: Active to static VBA req

    unsolved, irritated with above, marked solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hey everyone, I'm somewhat new to Excel programming and need help.
    By Pedro080 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-04-2012, 09:25 PM
  2. Replies: 1
    Last Post: 08-20-2012, 01:13 PM
  3. Programming in Excel
    By eggselent in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2012, 08:19 PM
  4. [SOLVED] Programming in .Net for Excel
    By Xaviero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2005, 08:30 PM
  5. Programming Excel with C++ .Net (MFC)
    By H. in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-23-2005, 11:06 AM

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