+ Reply to Thread
Results 1 to 8 of 8

Calculate Cost Basis of Inventory

Hybrid View

rizmomin Calculate Cost Basis of... 12-14-2008, 01:53 PM
rylo Hi Using your example file... 12-14-2008, 10:29 PM
rizmomin Thank you so much for the... 12-15-2008, 12:09 AM
rylo Riz in the class module... 12-15-2008, 12:18 AM
rizmomin Thank you so much for your... 12-15-2008, 12:02 PM
rizmomin I thought i would be able to... 12-15-2008, 04:16 PM
rylo Riz some things to try ... 12-15-2008, 07:31 PM
rizmomin I think this is working.. ... 12-15-2008, 07:49 PM
  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434
    Thank you so much for your help...works great..
    Will inform you if needed any further help on the same macro

    This will save me tons of time...

    Riz Momin

  2. #2
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434
    I thought i would be able to implement the macro in my original sheet which is hereby attached (Sample2)

    I am having some difficulty.

    In Sample2 worksheet, Brokerage sheet has all transaction.

    i have created CostAve sheet in the same format as Sheet2 of Sample1 worksheet.

    The calculated cost basis in need to go is in ShareCalc sheet of Sample2 column I..

    Please see if you help me accomplish...


    Help greatly appreciated...

    Thank you,

    Riz Momin
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Riz

    some things to try

    1) Brokerage!F865 - Should be 1000
    2) Brokerage!G865 - should be Microsoft
    3) Turn on the sorting - this is a necessary step to getting the FIFO action working
    4) Change the autofill line (second last row in the code) to be

      Range("M3").AutoFill Destination:=Range("M3:M" & Cells(Rows.Count, 1).End(xlUp).Row)
    See how that goes.

    rylo

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434
    I think this is working..

    Once again thanks a lot for the help and will inform you for any furher needs..

    Thank U,,

    Riz Momin

+ 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