+ Reply to Thread
Results 1 to 3 of 3

VBA to include offset

  1. #1
    Forum Contributor
    Join Date
    01-16-2009
    Location
    Ill.
    MS-Off Ver
    Excel 2010
    Posts
    190

    VBA to include offset

    Hello everyone - - happy monday! right?!

    I'm working on an Excel file that is a summary of updates on a list of projects that are currently being worked on. Columns A to L, see attached example file. In the attached there are two sheets, the FullSummary is the main sheet and the other, Example, is what I'm looking to accomplish via VBA and offsest.

    For the first project in the list on FullSummary, A2 - L2 contain the basic info. What happens is we insert a row and put a comment in Cell C3. The next day if the project is still open we insert another row and put the latest comment/update in C4, again the next day in C5 and so on until the project is complete.

    What I'm hoping to do is use offset to find the last update from column C and place it along side the value in A2, L2, C7 (see the Example sheet for what I'm looking to do).

    Then the next row of my Example sheet would be: A8, L8, C11...and so on.

    Would someone be able to assist with some code that would perform this? I'm thinking that offset with finding the last empty cell..etc. Any thoughts/suggestions? Thanks and enjoy your day!
    Attached Files Attached Files
    Last edited by Ironman; 08-15-2011 at 11:34 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA to include offset

    As you add rows on the fullsummary, just be sure to include the Ticket# on each new row, then this stays pretty simple. Formulas added to Example.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    01-16-2009
    Location
    Ill.
    MS-Off Ver
    Excel 2010
    Posts
    190

    Re: VBA to include offset

    Thanks Jbearucaire - - that'll work, I don't like the look of the number going down the column (a), but I change the font to white and it seems to work fine. Thanks for the suggestion.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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