+ Reply to Thread
Results 1 to 61 of 61

copy of Summary Accounts and Balances to next Sheet

  1. #1
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    copy of Summary Accounts and Balances to next Sheet

    http://www.excelforum.com/excel-prog...ml#post4202258

    The relevant code are found from above links that Developed by Mr. Alan. I appreciate him. I need modification in the code according to my task.

    Hoping someone can help me. The code is difficult to understand me.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by internet_imran; 09-30-2015 at 02:58 AM.

  2. #2
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 10-06-2015 at 08:08 PM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

  3. #3
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,

    _ Thanks for the PM and Link in the other Thread....


    _ 1 ) Please try to use Code tags when posting Code ( See my signature below )

    _ 2 ) I do not understand the code you gave in Post #2 above... I cannot work with that at all. It does not work at all. Is this your code? Did you write it? Try to explain what it is supposed to do. It seems to be full with errors.

    _ 3a ) Do you want a new code?
    OR
    _ 3b ) Do you want my original code to be modified to also produce this new sheet ?



    Alan
    Last edited by Doc.AElstein; 10-07-2015 at 05:59 AM.
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

  4. #4
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan

    Actually I do not need new code, but i was trying to modify this code that was perfect for me in another database.

    is this possible for you to modify your original code that was you already produced for me in your earlier posts according to his requirements.

    Thanks

    Imran
    Last edited by internet_imran; 10-30-2015 at 02:18 AM.

  5. #5
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,
    try this
    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: copy of Summary Accounts and Balances to next Sheet

    Why so complex?
    Please Login or Register  to view this content.

  7. #7
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran

    _1) . How are you? I have not heard from you for a long time!!

    _ 2 ) . Jindon and nilem have done already a code for you. They are much better than me and can work very quickly! Their codes only do for you a Balance Summary Output Data Values. I have tried to understand their codes. I have put some explaining comments on their codes here:
    http://www.excelforum.com/developmen...ml#post4229685

    _ 3) . So I modify my last code to do the same. My code is now very long and unnecessary complicated. But I do for now only the same as Jindon and nilem. Only data Values ( I think you want more: I think You want
    _ 3 a) headings,
    _3 b) paste link instead of values, and
    _3 c) formatting
    as before!!)
    This will all make my code ridiculously complicated!!

    So here is my latest code. It is very long. I need 4 Posts to post it!!!
    ( So code is split in Four BUT IT IS ALL ONE CODE. COPY Second part directly under First part and the Third part directly under the second part in the same Module, and the forth part directly under the Third part in the same Module).
    Here my latest code:
    http://www.excelforum.com/developmen...ml#post4229733
    and
    http://www.excelforum.com/developmen...ml#post4229738
    and
    http://www.excelforum.com/developmen...ml#post4229740
    and
    http://www.excelforum.com/developmen...ml#post4229744

    _ . Codes from Jindon, nilem and me all give this in “Sheet2”

    Using Excel 2007
    Row\Col
    B
    C
    D
    E
    F
    G
    H
    I
    10
    Rent Expense
    100
    11
    Cash
    700
    12
    Accounts Receivable
    -4600
    13
    Accounts Payable
    400
    14
    Supplies
    -200
    15
    Salaries Expense
    1800
    16
    Utilities Expense
    800
    17
    Telephone Expense
    900
    18
    Advertising Expense
    1000
    19
    Dividends
    1300
    20
    Marketing Fees
    1400
    Sheet2


    Alan Elston

  8. #8
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Thanks Mr. Neilem and Jindon and Alan your quick response.

  9. #9
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Quote Originally Posted by internet_imran View Post
    Thanks Mr. Neilem and Jindon and Alan.....
    Thanks for the feedback,
    Glad we could help
    Alan

  10. #10
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Thank you very much..

    Mr. Alan i am trying to understand you code provided by different posts.
    please help me how to learn these code.

    My last question in this attachment...

    how to copy cells of date column and narration values based H column and debit and credit values to corrosponding sheets
    Attached Files Attached Files
    Last edited by internet_imran; 11-13-2015 at 02:49 AM.

  11. #11
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,_

    I was away for a while. Do you still need any help?

    Alan

  12. #12
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan

    How are you?

    I need your help again please find attached file.

    Thanking you,

    imran

  13. #13
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi, Imran
    Quote Originally Posted by internet_imran View Post
    ..How are you? ..
    _.. I Better now thanks after the break.

    Quote Originally Posted by internet_imran View Post
    ....
    I need your help again........ please find attached file.............
    Re your new Request
    Imran Do want:
    Quote Originally Posted by internet_imran View Post
    ......1) Date are missing in Ledger sheet after new data entered on database sheet. When....
    _ OK. We had before only 1 debit And only 1 credit entry , ( staggered ) such as this..


    Salaries Expense
    Cash
    database

    _ now you have this

    Truck
    Notes Payable
    Cash
    database

    Or this:

    Equipment
    Supplies
    Cash
    database

    ( and maybe even more in the future ! ? ! )

    So:
    I do a date “Bodge”, whereby we “search back up” a line at a time until we find the date cell, ( that is to say we look for an Input data Array element in the appropriate “column” with a non zero value going vertically “back up” the “column” )

    Here for example for debit column, new code bit look do is now on new code i do you do have:

    Please Login or Register  to view this content.
    A similar “Bodge” is done for the credit column.

    _ I do try it did: Results from your file do correct now see you is?
    _ WilyWonk.png:
    ImranWilyWonk.JPG

    _ and new code
    Sub FilALedgerWithValuesFormulasAndFormatandGodKnowsWotElseDateInfractionWilyWonk()
    ( In three parts – but all one code ! )

    http://www.excelforum.com/developmen...ml#post4251906

    http://www.excelforum.com/developmen...ml#post4251908


    http://www.excelforum.com/developmen...ml#post4251908

    _......................................................

    Imran do want New Sheet, “111” Updated:
    Quote Originally Posted by internet_imran View Post
    .......
    2) How to update Sheet named 111 as manually write data on it for your reference.
    3) copy cells Date Column and H column with debit or credit value against Post reference no.111 on based of J column....
    _ I try now. ( Maybe i not guess too good – than late make better will ? ! )

    _ see next post, Post # 14 below:


    _ ....................................................

  14. #14
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Imran do want New Sheet, “111” Updated:
    Quote Originally Posted by internet_imran View Post
    .......
    2) How to update Sheet named 111 as manually write data on it for your reference.
    3) copy cells Date Column and H column with debit or credit value against Post reference no.111 on based of J column....

    _ .. You do want This

    Row\Col
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    14
    2
    Paid July rent
    111
    100
    15
    3
    Received cash on account
    111
    6,000
    16
    12
    Paid on account
    111
    400
    17
    15
    Paid salaries for first half of July
    111
    600
    18
    24
    Paid July utility bill
    111
    800
    19
    25
    Paid July telephone bill
    111
    900
    20
    30
    Paid salaries for last half of July
    111
    1200
    21
    30
    Declared and paid dividend
    111
    1,300
    22
    30
    Invested equipment and cash in business in exchange for 833 shares of $10 par value common stock of the corporation
    111
    1,000
    23
    31
    Purchased truck; made $500 down payment
    111
    1,000
    24
    31
    Purchased equipment and supplies on cash
    111
    1600
    111

    From this
    Database.png:
    databaseImran.JPG

    _ This is very easy, but I am not sure what you want:

    Questions for you


    _1) Do you want
    _1a) A new Code just to do this?
    Or
    _1b) Do you want the existing code to be modified to do this also?

    Alan

    P.s.

    Can you tell me Please:

    _ What your native language is ? – Maybe if i know that I will be able to communicate with you better.
    _ Are you Pakistani or Indian ? - ( I am English and German )

    कृपया क्या आप मुझे बता सकते हैं:
    _ अपनी मूल भाषा है क्या? - शायद मैं मैं बेहतर है कि आप के साथ संवाद करने में सक्षम हो जाएगा कि अगर तुम्हें पता है।
    _ आप पाकिस्तानी या भारतीय हैं? - (मैं अंग्रेजी और जर्मन हूँ)




    آپ مجھے براہ مہربانی بتا سکتے ہیں:
    _ آپ کی آبائی زبان کیا ہے؟ - شاید میں بہتر آپ کے ساتھ بات چیت کرنے کے قابل ہو جائے گا معلوم ہے.
    _ آپ پاکستانی یا بھارتی ہیں؟ - (میں انگریزی اور جرمن ہوں)



  15. #15
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Bundle of Thanks Mr. Alan

    You done this regularly.

    For 2nd question Please made a new code if easily possible.
    http://www.excelforum.com/excel-prog...ml#post4251918

    now i change and add one sheet more named account No. 112 with Sheet No. 111 in the attached file. other sheets numbers will be different according to ledger Accounts yet i have not mention in the J Column.

    Dear Alan i am pakistani and my native language is urdu.

    Thanks

    imran

  16. #16
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran

    Attachment 432911

    urdu
    Er..Du
    ہیلو عمران
    ...Wonk ( Poo )


    You are welcome

    آپکا خیر مقدم ہے

    _ ...............................................

    Re your new Request

    I think I must guess what you want!?

    I Wank first. Then....
    _ ...next post #Post 17 I do try that all maybe ?
    Last edited by Doc.AElstein; 11-30-2015 at 12:00 PM.

  17. #17
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    _ ...............................................

    I wanked about a bit
    I am not sure exactly what you want.
    internet_imranAfter_7_Help.xlsm‎
    internet_imranAfter_9_Trial Balance Pending working.xlsm‎
    I bit confused .

    I give you something now. -
    internet_imranAfter_7_Help.xlsm ( ImranMahmood_7GuessFullLegerSheetsWonk.xlsm )‎

    We can then take it further when you Reply back.

    So........


    Quote Originally Posted by internet_imran View Post
    Bundle of Thanks .......
    For 2nd question Please made a new code if easily possible. ....
    now i change and add one sheet more named account No. 112 with Sheet No. 111 in the attached file. other sheets numbers will be different according to ledger Accounts yet i have not mention in the J Column......

    .
    In the j column ? ? ?
    "Cash", "Rent Expense", "Accounts Receivable", "Salaries Expense", "Supplies", "Utility Expense", "Telephone Expense", "Advertising Expense", "Dividends"
    ...."Marketing Fees", "Common Stock", "Accounts Payable", "Retained Earnings"
    Maybe more ? 111 112 111;112...
    .....666 ; PTang ; PTang OLE Wiggy Wam Biscuit Barrel Infraction Du Wolly Willy Wonk...
    In the j column ? ? ?



    I try......
    Code see ‘__) Number
    '2a) ........ Unique Ledger Accounts ( Full)
    And
    '2b) ........ Unique Ledger Accounts other sheets numbers yet i have not mention in the J Column......

    I do make a New Sheet After:= Ledger

    Attachment 432912

    It is a A Blue Print for Class of : “... other sheets numbers will be different according to ledger Accounts yet i have not mention…“

    "... دوسرے شیٹ تعداد بہی اکاؤنٹس کے مطابق مختلف ہو جائے گا میں نے کا ذکر نہیں ہے ..."

    سانچے


    Wonk ? !
    I try furhter to guess
    Code see ‘__) Number
    Wonk_1)
    I do think maybe I make Full new sheets from Blue print for
    Code see ‘__) Number
    '2a) ........ Unique Ledger Accounts ( Full) .
    Keys() are all Unique Ledger Accounts. And....


    sheets made form code I do give below

    Attachment 432913


    Code: Sub DateInfractionWilyWonk_JackSht_111_BluePrintWolyWonk()

    Here I do give is two parts but one code
    here
    http://www.excelforum.com/developmen...ml#post4252590
    and here
    http://www.excelforum.com/developmen...ml#post4252591



    and File for this Thread i do Dump In for you ( attatchment ) is
    ( ImranMahmood_7GuessFullLegerSheetsWonk.xlsm ) ( XL2007)

    https://app.box.com/s/pt0788qv1ek2aq70s04379jtoukbm2aa

    _ .....................................................................................

    And
    '2b) ........ Unique Ledger Accounts other sheets numbers yet i have not mention in the J Column......



    I do try guess in next post # 18



    _.....................................................................................

  18. #18
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    '2b) ........ Unique Ledger Accounts other sheets numbers yet i have not mention in the J Column......

    I do try guess again:

    internet_imranAfter_9_Trial Balance Pending working.xls
    ( ‎

    ???

    Maybe.....
    Rem 4) Extra Sheets Post. Ref. Sheets other sheets numbers will be different according to ledger Accounts yet i have not mention in the J Column.....

    I make Sheet do:

    Attachment 432939

    _ ......

    Then I wonk about again....

    Attachment 432940


    _..............................



    Code: ( 3 parts, One Code )
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonk()

    Here:
    http://www.excelforum.com/developmen...ml#post4252700


    here:
    http://www.excelforum.com/developmen...ml#post4252701


    and here:
    http://www.excelforum.com/developmen...ml#post4252703





    File:
    ImranMahmoodDevelopment.xlsm

    https://app.box.com/s/mlj2jvdan1qf0s3kb96h44a5cskys643



    _ ..........................................

    Posts # 17 and Post # 18 were hard.
    I have guessed a bit.
    Take your time to try it all out.
    Then we will talk again

    # مراسلات 17 اور پوسٹ # 18 مشکل تھے.
    میں تھوڑا سا اندازہ.
    یہ سب باہر کرنے کی کوشش کرنے کے لئے آپ کا وقت لے لو.
    اس کے بعد ہم ایک بار پھر بات کریں گے



    Alan


  19. #19
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan,

    Thank you very much. Your work are awesome. when we run your code on database sheet this generate work sheets of all ledger accounts this is great.

    This is also produce sheet named Cash111;112. but here on this sheet values of Debit and credit are missing.

    Here is my needs

    1) When we run code very First time this will generate work sheets named of all ledger accounts and work sheets named of accounts numbers mention in Column J Seprately.
    For example if Account number mention in Column J like 111 this will produce only sheet cash 111 and if Account number mention in Column J like 111;112 with semicolon here both sheets cash 111 and cash 112 seprately have been produced.

    2) After this whenever I edit database sheet and change any old amount, macro only clear text from newly generated sheets from cells Column Range B14:N14 to end row. except database and Ledger sheet.

    Thanks again

    imran
    Attached Images Attached Images
    Last edited by internet_imran; 12-02-2015 at 08:04 PM.

  20. #20
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran

    Hello

    ہیلو
    Wonk



    Quote Originally Posted by internet_imran View Post
    .... Your work are awesome......
    Thanks!....

    Quote Originally Posted by internet_imran View Post
    .... but here on this sheet values of Debit and credit are missing.....
    _ ......But maybe i play around with myself too much was!! I do make a mistake have . Sorry
    This i do do wrong!





    Please Login or Register  to view this content.

    _ This is better....

    Please Login or Register  to view this content.


    _ and now here on this sheet values of Debit and credit are NOT missing.

    Using Excel 2007
    Row\Col
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    14
    Purchased truck; made $500 down payment
    111;112
    1000
    (1,000)
    15
    Purchased equipment and supplies on cash
    111;112
    1600
    (2,600)
    Cash111;112

    _ File Made Better Now:

    https://app.box.com/s/mlj2jvdan1qf0s3kb96h44a5cskys643

    _ Code here: Also better now

    http://www.excelforum.com/developmen...ml#post4252703

    WankedtooMuch.JPG



    _ ........................................................

    Alan
    Last edited by Doc.AElstein; 12-03-2015 at 06:42 AM. Reason: Stopped Wanking. - ( At shg's request! )

  21. #21
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Imran

    Quote Originally Posted by internet_imran View Post
    ....
    Here is my needs

    1) When we run code very First time this will generate work sheets named of all ledger accounts and work sheets named of accounts numbers mention in Column J Seprately.
    For example if Account number mention in Column J like 111 this will produce only sheet cash 111 and if Account number mention in Column J like 111;112 with semicolon here both sheets cash 111 and cash 112 seprately have been produced.

    2) After this whenever I edit database sheet and change any old amount, macro only clear text from newly generated sheets from cells Column Range B14:N14 to end row. except database and Ledger sheet.
    .......
    This i do not quite understand ( Yet ) .

    Maybe you can Upload a few Files to me ( .xlsx or .xlsm ) Please.

    Please show me in the Files what you want. And try to explain again.

    I try to look again at your new needs tomorrow if you post some new Files and explain again what you want.

    Alan
    Last edited by Doc.AElstein; 12-03-2015 at 06:41 AM. Reason: Stopped wanking at SH G's request

  22. #22
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Dear Alan!

    How are your. i hope you will be good health.

    here is difficult for me to explain the sheets however i try to my best.

    There is also a main issue in my excel sheets of closing Balance that will be carry forward to next month.

    So last month closing Balances i mention on the BluePrintWonk Sheets.


    All Ledgers Accounts mention on BluePrintWonk.

    1) Code wll generate sheets based on "BluePrintWonk" Ledger Accounts with 6 lines rows of each account Firstly.

    because here is mention last month closing balance. that will be opening to next month.....
    if your have another idea than also inform me.


    2) Secondly code copy values from database sheet and paste values to relevant sheets after the closing balance.


    Thank you..
    Attached Files Attached Files
    Last edited by internet_imran; 12-06-2015 at 11:50 AM.

  23. #23
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,
    Quote Originally Posted by internet_imran View Post
    ....How are you. i hope you will be good health.......
    _ I am well, thanks.

    _......................................................



    _ It is very very hard to understand.

    _ I do try!

    _Please we try to just do one thing at a time or we will both be very confused and waste lots of time

    _ So

    Quote Originally Posted by internet_imran View Post
    .........
    1) When we run code very First time this will generate work sheets named of all ledger accounts and work sheets named of accounts numbers mention in Column J Seprately.
    For example if Account number mention in Column J like 111 this will produce only sheet cash 111 and if Account number mention in Column J like 111;112 with semicolon here both sheets cash 111 and cash 112 seprately have been produced...........
    _ _a) First time code make all Sheets: ?

    Cash
    Notes Payable
    Common Stock
    Marketing Fees
    Truck
    Equipment
    Dividends
    Advertising Expense
    Telephone Expense
    Utilities Expense
    Salaries Expense
    Supplies
    Accounts Payable
    Accounts Receivable
    Rent Expense


    And

    Cash 111
    and
    Cash 112


    My code
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonk()

    Do make this

    Notes Payable
    Common Stock
    Marketing Fees
    Truck
    Equipment
    Dividends
    Advertising Expense
    Telephone Expense
    Utilities Expense
    Salaries Expense
    Supplies
    Accounts Payable
    Accounts Receivable
    Cash
    Rent Expense

    And

    Cash111;112


    is wrong, sorry!
    So I must change this ( One sheet )

    Cash111;112

    to this ( Two sheets )

    Cash 111
    Cash 112




    _b) My Blue Print Sheet is wrong now.

    http://www.excelforum.com/attachment...eprintwonk.jpg

    You want a new Blue Print Sheet. I do need now to make a new Blue Print sheet. I do call BluePrintWonky2. It will look maybe like this

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    Q
    R
    S
    1
    2
    Account No.
    3
    Post.
    Balance
    4
    Date
    Item
    Ref.
    Debit
    Credit
    Debit
    Credit
    5
    6
    2015
    7
    June
    30
    Balance
    8
    BluePrintWonky2


    Attachment 433746

    _.....

    So I do new code to do this Firstly I will call it
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()

    Do you agree? Please reply!!

    Alan
    Last edited by Doc.AElstein; 12-07-2015 at 09:06 AM. Reason: I need a go do a Wonk make ( Wonky poo )

  24. #24
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Yes, I am agree Alan!
    But here is a main issue how to carry forward last month closing balance to next month as opening balance. If you have good idea so, I have no objection.

    Thanks
    imran

  25. #25
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    Quote Originally Posted by internet_imran View Post
    Yes, I am agree Alan!...
    OK. I try to do THAT first. when I have time

    _ ...then...



    Quote Originally Posted by internet_imran View Post
    ....
    But here is a main issue how to carry forward last month closing balance to next month as opening balance. ......
    _ later we look at that issue

    Alan
    Last edited by Doc.AElstein; 12-09-2015 at 02:06 PM.

  26. #26
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran

    I was very busy. I try soon to answer fully and give new codes.



    Questions for you. Please Reply

    _1) Is this acceptable ?

    Date_Year.JPG



    Row\Col
    B
    C
    7
    May 2015
    8
    June 2015
    Sheet: Cash
    _ ...........................

    _ 2 ) Please upload a database sheet for August 2015


    Thanks

    Alan

    P.s.

    I do think my code run will and if Worksheet not there it will be made. That correct is think I do.
    And I do think i can last month closing balance to next month as opening balance. That good is think I also
    Last edited by Doc.AElstein; 12-10-2015 at 02:03 PM. Reason: -.... Think I do it .. Poo & W___

  27. #27
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Dear Mr. Alan
    pleas find attached file including August database sheet.

    Thanks
    Imran
    Attached Files Attached Files

  28. #28
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,

    Quote Originally Posted by internet_imran View Post
    .....
    pleas find attached file including August database sheet.....
    Thanks

    _................................................::::::::::::::::::-.........................




    _1 ) See Post # 26:

    Quote Originally Posted by Doc.AElstein View Post
    ........
    Questions for you. Please Reply

    _1) Is this acceptable ?


    Row\Col
    B
    C
    7
    May 2015
    8
    June 2015
    Sheet: Cash

    _ ...........................
    _ ………………………………………………..

    _2 )


    Please check your Formulas in “Aftar.xlsm” . Imran is given was:

    Cash:

    Row\Col
    L
    M
    N
    O
    P
    Q
    R
    4
    Debit
    Credit
    Debit
    Credit
    5
    6
    7
    8
    100
    (100)
    9
    6000
    5,900
    10
    400
    5,500
    11
    600
    4,900
    12
    800
    4,100
    13
    900
    3,200
    14
    1200
    2,000
    15
    1300
    700
    16
    1000
    1,700
    17
    1000
    700
    18
    1600
    (900)
    Sheet: Cash

    Row\Col
    P
    8
    =SUM(P7-N8)+L8
    9
    =SUM(P8-N9)+L9
    10
    =SUM(P9-N10)+L10
    11
    =SUM(P10-N11)+L11
    12
    =SUM(P11-N12)+L12
    13
    =SUM(P12-N13)+L13
    14
    =SUM(P13-N14)+L14
    15
    =SUM(P14-N15)+L15
    16
    =SUM(P15-N16)+L16
    17
    =SUM(P16-N17)+L17
    18
    =SUM(P17-N18)+L18
    Sheet: Cash

    _ - Yes I think Correct is ?


    _.......................::::::::::::::::::::::::………….

    Marketing Fees:

    _ - No – I think wrong is ?

    Row\Col
    L
    M
    N
    O
    P
    Q
    R
    4
    Debit
    Credit
    Debit
    Credit
    5
    6
    7
    8
    300
    (300)
    9
    1100
    (1,100)
    Sheet: Marketing Fees


    Row\Col
    R
    8
    =SUM(P7-N8)+L8
    9
    =SUM(P8-N9)+L9
    Sheet: Marketing Fees


    Please Comment do .


    Alan
    Last edited by Doc.AElstein; 12-10-2015 at 02:03 PM. Reason: Having a ____ Poo

  29. #29
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Sir Marketing Fees formula is wrong
    this will be...
    Attached Images Attached Images

  30. #30
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran

    _ 1 )

    Quote Originally Posted by internet_imran View Post
    Sir Marketing Fees formula is wrong
    this will be...
    OK . I agree

    it will be




    Row\Col
    R
    7
    8
    300
    9
    1,400
    Sheet: Marketing Fees




    Row\Col
    R
    7
    =SUM(R6+N7)-L7
    8
    =SUM(R7+N8)-L8
    9
    =SUM(R8+N9)-L9
    Sheet: Marketing Fees




    _2 ) See Post # 26:

    Quote Originally Posted by Doc.AElstein View Post
    ........
    Questions for you. Please Reply

    _1) Is this acceptable ?



    Row\Col
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    Q
    R
    6
    7
    May 2015
    31
    Balance
    14,000
    8
    June 2015
    30
    Balance
    15,000
    9
    July 2015
    31
    Balance
    17,000
    Cash

    _ ...........................


    Alan
    Last edited by Doc.AElstein; 12-10-2015 at 02:09 PM. Reason: and now.... off for a Wonk

  31. #31
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Sir, according to post # 30.... the image shows a different summary of closing balances of each month.

  32. #32
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi...

    Quote Originally Posted by internet_imran View Post
    Sir, according to post # 30.... the image shows a different summary of closing balances of each month.
    I only want to know if it acceptable to have Date and Year on same line:

    Is this acceptable

    July 2015
    August 2015


    instead of

    2015
    July
    August




    ( The closing balances I just made up. They are not important to this question )
    Alan

  33. #33
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Yes first is accepted, i have no objection.

  34. #34
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Quote Originally Posted by internet_imran View Post
    Yes first is accepted, i have no objection.
    Ok
    I post again when I have a code for you, or if I have other Questions

    Alan

  35. #35
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    I hope to post today or tomorrow a code for you.

    If you have a database sheet for September that you could upload it would be helpful for me to test further the code.
    But that is not too important. Do not make one especially . I just ask incase you already have one.

    Thanks
    Alan

    P.s. I only need a database sheet, I do not require the Account Sheets. So I only require 1 sheet in a file if you upload one.

  36. #36
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Sir, Please find attached file including September database sheet.
    Attached Files Attached Files

  37. #37
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    Quote Originally Posted by internet_imran View Post
    Sir, Please find attached file including September database sheet.
    Thankyou

    Alan

  38. #38
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,

    _ . I need more information because you have some new Account Names

    You Had July: ( Full Sheets : Account names)

    Rent Expense
    Cash
    Accounts Receivable
    Accounts Payable
    Supplies
    Salaries Expense
    Utilities Expense
    Telephone Expense
    Advertising Expense
    Dividends
    Equipment
    Truck
    Marketing Fees
    Common Stock
    Notes Payable

    And

    Debit Side
    Let DSide() = Array("Cash", "Rent Expense", "Accounts Receivable", "Salaries Expense", "Supplies", "Utility Expense", "Telephone Expense", "Advertising Expense", "Dividends")

    Credit Side
    Let CSide() = Array("Marketing Fees", "Common Stock", "Accounts Payable", "Retained Earnings") 'Accounts to go on the Credit side

    _................................

    You have now August:

    Rent Expense
    Cash
    Supplies
    Gas and Oil Expense
    Wages Expense
    Accounts Payable
    Accounts Receivable
    Equipment
    Utilities Expense
    Prepaid Insurance
    Dividends
    Service Revenue

    And September:

    Cash
    Supplies
    Bicycles
    Shed
    Maintenance Expense
    Wages Expense
    Accounts Payable
    Repair Expense
    Equipment
    Utilities Expense
    Gas and Oil Expense
    Prepaid Insurance
    Accounts Receivable
    Concession Fee Expense
    Dividends
    Common Stock
    Rental Revenue

    Questions:
    _ 1)

    Please fill in

    Debit Side
    Let DSide() = Array(___________?_____________)

    Credit Side
    Let CSide() = Array(____________?____________) 'Accounts to go on the Credit side


    _2)

    Is this Acceptable for database Sheet Names

    "databaseSeptember", "databaseAugust", "databaseJuly"

    databaseTabNames.JPG



    Thanks
    Alan

  39. #39
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Dear Alan Please find attached detailed....
    Question No.1

    Please Login or Register  to view this content.
    Question No.2
    database Sheet names are accepted.

    Thank you very much

    imran
    Last edited by internet_imran; 12-13-2015 at 09:10 AM.

  40. #40
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    Quote Originally Posted by internet_imran View Post
    Dear Alan Please find attached detailed....
    Question No.1.....

    Question No.2.......
    Thankyou.



    Alan

  41. #41
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,
    _ I give you what I have for now.

    Quote Originally Posted by internet_imran View Post
    ......
    1) When we run code very First time this will generate work sheets named of all ledger accounts and work sheets named of accounts numbers mention in Column J Seprately.
    For example if Account number mention in Column J like 111 this will produce only sheet cash 111 and if Account number mention in Column J like 111;112 with semicolon here both sheets cash 111 and cash 112 seprately have been produced.......



    I do now code make sheets ( Like you “Aftar.xlsm” me give did (_ ………….. After August data I do have as July
    From Imran long time ago
    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    7
    1
    2015
    8
    2
    July
    2
    Rent Expense
    9
    3
    Cash
    10
    4
    Paid October rent
    Sheet: database

    From Recent Imran Aftar
    Row\Col
    B
    C
    D
    E
    F
    G
    H
    I
    7
    2015
    8
    Aug.
    2
    Rent Expense
    9
    Cash
    10
    Paid August rent
    11
    12
    3
    Cash
    13
    Service Revenue
    14
    Received fees for this month's
    Sheet: August

    _ .. and no 111;112 in Column but do have Worksheets ( Tabs Name is ) Cash 111, and Cash 112 there is.


    _......................... ) )

    _ …………………………………………….

    No Matter. Not important. I do now use old July Database I have long time and write the new program
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonk()
    _ …. BUT to give all Full Sheets and ".....other sheets numbers will be different according to ledger Accounts yet i have not mention in the J Column...." like “Aftar.xlsm” Imran is given was:

    Cash 111
    Cash 112

    Cash
    Notes Payable
    Common Stock
    Marketing Fees
    Truck
    Equipment
    Dividends
    Advertising Expense
    Telephone Expense
    Utilities Expense
    Salaries Expense
    Supplies
    Accounts Payable
    Accounts Receivable
    Rent Expense



    Quote Originally Posted by internet_imran View Post
    ....Mr. Alan i am trying to understand you code provided by different posts……please help me how to learn these code......
    From now on I do do that then is here for example:

    I make do
    Keys()=
    I do call these “Parent Account Names”

    Then :

    Keysother()=
    =Cash & Wonk & 111;112 = CashWonk111;112

    Keysotherother()= ( Split ….."yet i have not mention in the J Column…” all Keysother first with Wonk
    Cash _______111;112
    , then split with ;
    111 ______112
    , then stick together with a space ( " " ) between For
    cash & " " & 111 = Cash 111
    cash & " " & 112 = Cash 112

    I do call these “Sibling Account Names” ( Imran do call these “…….Sheets other sheets numbers will be different according to ledger Accounts yet i have not mention in the J Column……”

    ( just order different is ( you find that Wonk OK ? ) ) ( It now ”back to front” or “ourse over tit” I do say !! ) . So my code
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()
    Give now better ( First time run only do it make them ) ( July 2015 ):


    Rent Expense
    Cash
    Accounts Receivable
    Accounts Payable
    Supplies
    Salaries Expense
    Utilities Expense
    Telephone Expense
    Advertising Expense
    Dividends
    Equipment
    Truck
    Marketing Fees
    Common Stock
    Notes Payable
    Cash 111
    Cash 112_ ………………………………………….

    Balance Summary line is updated when code runs AND when Worksheet Accounts already exists. ( Otherwise it is like a Dog chasing his own ourse ( or Tail ) )

    _ ..............................................................

    So File

    You Try:

    “ImranMahmoodDevelopmentJuly.xlsm”
    You Do run Code ( always is Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()
    )
    ( Code later referenced in post # 44 )


    You see ( should do ) It make a File that look like Imran “Aftar.xlsm”


    Yes.. Wonk Good ?

    Please Try and Reply

    Alan

    P.s.1 I do have a new Blue Print Wonksheet “BluePrintWonky2” It is empty.


    Attachment 435060


    P.s.2 Also

    Sub FilALedgerWithValuesFormulasAndFormatandGodKnowsWotElseDateInfractionWilyWonk()
    Wonks good when Changed have
    Set wsDB = ThisWorkbook.Worksheets("databaseJuly")
    Attached Files Attached Files
    Last edited by Doc.AElstein; 12-13-2015 at 04:56 PM.

  42. #42
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran,


    _ Here we go again, Wonk Poo !

    Quote Originally Posted by internet_imran View Post
    ......
    2) After this whenever I edit database sheet and change any old amount, macro only clear text from newly generated sheets from cells Column Range B14:N14 to end row. except database and Ledger sheet.........

    You Try

    File is
    “ImranMahmoodDevelopmentJulyAugust.xlsm”

    Run Code:
    ( Code is again ( is always ) ( same as last time )( same Procedure as every time ) )
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()
    ( Code later referenced in post # 44 )


    If a worksheet is there it is just added to, as you wanted ( or similar for now ). ( “Worksheet Rent Expense” was in July and August )


    Attachment 435069



    If Worksheet is not there it will be made and filled in (Worksheet “Service Revenue” was in August but not in July )


    Attachment 435070


    This is good also?

    Try and reply!

    Alan

    P.s. Also

    Sub FilALedgerWithValuesFormulasAndFormatandGodKnowsWotElseDateInfractionWilyWonk()
    Wonks good when Changed have
    Set wsDB = ThisWorkbook.Worksheets("databaseAugust")




    _ ……………………………………………………………..
    Attached Files Attached Files

  43. #43
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    _ …… Hi Imran

    _ ….. So we do this “fun” again.. “Wonking” for “Fun again!!!


    _ So Now you Try


    File

    “ImranMahmoodDevelopmentJulyAugustSeptember.xlsm”


    Run Code:
    ( Code is again ( is always ) ( same as last time )( same Procedure as every time ) )
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()
    ( Code later referenced in post # 44 )

    One example of Final Output: ( Worksheet “Cash” was in July, August, and September, )


    Attachment 435072


    Alan




    P.s. Also

    Sub FilALedgerWithValuesFormulasAndFormatandGodKnowsWotElseDateInfractionWilyWonk()
    Wonks good when Changed have
    Set wsDB = ThisWorkbook.Worksheets("databaseSeptember")

    _ …………………………………………………………………………………………..
    Attached Files Attached Files

  44. #44
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Code for Posts #41 to #43

    Hi Imran,

    Code is in all Files, and also Here ( in 8 Parts because so big!!! BUT ALL ONE CODE )

    Code is:
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()

    Here

    And
    http://www.excelforum.com/developmen...ml#post4263059

    And
    http://www.excelforum.com/developmen...ml#post4263061

    And
    http://www.excelforum.com/developmen...ml#post4263064

    And
    http://www.excelforum.com/developmen...ml#post4263066


    And
    http://www.excelforum.com/developmen...ml#post4263070

    And
    http://www.excelforum.com/developmen...ml#post4263073

    And
    http://www.excelforum.com/developmen...ml#post4263074

    And
    http://www.excelforum.com/developmen...ml#post4263077



    _ ………………………………………………………



    Imran, one last but very important point.
    !!! The codes I have written for you are now becoming very very long and very very complicated. They are not efficient. They are very slow. This is because continually they have been updated, added to , modified etc. ( And I also tried to keep them flexible as I tried to Guess what you currently or ( maybe later might ) want.
    This is, perhaps, good learning for us both.
    It is, however, very un professional. You should try to learn from my codes and also teach yourself VBA if you are going to be continually using these codes.

    You will find it very difficult to get help further in Forums for Projects such as this. In future you will need to reduce your test data further, so that only a few sheets are made, that is to say only about 5 Accounts are present. As always select your test data so as to allow checking of all scenarios.
    You are developing a very large project here. I am interested to help and take it further, but there may come a point when the Files I have and codes are just too big to make that practically possible to help working "at such a distance" form you. Currently I have required additional codes ( In Modules: “DevHelpCodes” ; “FormatCodes” ; “PubicFuktions” ( For Public Function Codes ). These were needed to both help develop and Debug the codes. ( You may also find them useful. )

    Good luck and have "fun" with testing the code. !!!!!!
    Alan
    Last edited by Doc.AElstein; 12-13-2015 at 03:52 PM. Reason: [COLOR="#D3D3D3"]Poo[/COLOR] and Wonk

  45. #45
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan!
    Thank you very much, you give me importance and time of my work.
    I appreciate your work. now I am testing and understanding your code one by one Seprate July, August, September and combine in one file with 3 database Accounts combine sheets in one file July, Aug, Sep. Than I Will report you soon after testing the code.

    Imran
    Last edited by internet_imran; 12-15-2015 at 11:56 AM.

  46. #46
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan!
    Thank you very much, you give me importance and time of my work.
    I appreciate your work. now I am testing and understanding your code one by one Seprate July, August, September and combine in one file with 3 database Accounts combine sheets in one file July, Aug, Sep. Than I Will report you soon after testing the code.

    Imran
    Last edited by internet_imran; 12-15-2015 at 11:57 AM.

  47. #47
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    Quote Originally Posted by internet_imran View Post
    ......
    Thank you very much, you give me importance and time of my work.
    I appreciate your work. now I am testing and understanding your code one by one.... Than I Will report you soon after testing the code....
    Good Luck
    Take your time:
    I am away for a couple of days and will help again if i can when I get back
    Alan

  48. #48
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan.

    How are your? Hope you are fine.

    First of all, I could not work out on the code that your have provided before six month. Reason is that office adds other duties on my hand. So, I cannot the complete the task due to my office and home activities.

    Now i am again start this difficult task.

    Alan, Your are great and work very well time to time when i require your help.

    Now the task is near to complete, there are few issues concern this.

    First

    When I run the code sheets create named

    Rent Expense
    Cash
    Accounts Receivable
    Accounts Payable
    Supplies
    Salaries Expense
    Utilities Expense
    Telephone Expense
    Advertising Expense
    Dividends
    Equipment
    Truck
    Marketing Fees
    Common Stock
    Notes Payable
    Cash 111
    Cash 112

    code create sheets but missing the data from the database sheet while running. The problem are around the Sheets Cash 111 and Cash 112
    From now on I do do that then is here for example:

    I make do
    Keys()=
    I do call these “Parent Account Names”

    Then :

    Keysother()=
    =Cash & Wonk & 111;112 = CashWonk111;112

    Keysotherother()= ( Split ….."yet i have not mention in the J Column…” all Keysother first with Wonk
    Cash _______111;112
    , then split with ;
    111 ______112
    , then stick together with a space ( " " ) between For
    cash & " " & 111 = Cash 111
    cash & " " & 112 = Cash 112

    I do call these “Sibling Account Names” ( Imran do call these “…….Sheets other sheets numbers will be different according to ledger Accounts yet i have not mention in the J Column……”

    ( just order different is ( you find that Wonk OK ? ) ) ( It now ”back to front” or “ourse over tit” I do say !! ) . So my code
    Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()
    Give now better ( First time run only do it make them ) ( July 2015 ):


    Rent Expense
    Cash
    Accounts Receivable
    Accounts Payable
    Supplies
    Salaries Expense
    Utilities Expense
    Telephone Expense
    Advertising Expense
    Dividends
    Equipment
    Truck
    Marketing Fees
    Common Stock
    Notes Payable
    Cash 111
    Cash 112_ ………………………………………….

    Balance Summary line is updated when code runs AND when Worksheet Accounts already exists. ( Otherwise it is like a Dog chasing his own ourse ( or Tail ) )

    _ ..............................................................

    So File

    You Try:

    “ImranMahmoodDevelopmentJuly.xlsm”
    You Do run Code ( always is Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2()
    )
    ( Code later referenced in post # 44 )
    This sheet is produce result correct
    capture1.jpg

    This sheet is missing rows as like above Cash sheet

    capture2.jpg

    This sheet is also missing rows as like above Cash sheet

    capture3.jpg
    Last edited by internet_imran; 06-23-2016 at 05:42 AM.

  49. #49
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    code are missing data from the column J that are same post Reference like 111 so, all entries are come on Sheet
    Cash as well as on the Sheet Cash 111 and Cash 112.

    Second

    I also need help if column J has other Post Ref. Numbers like 113, 114, 115 .

    Thanks in Advance.

    Imran
    Last edited by internet_imran; 06-23-2016 at 06:04 AM.

  50. #50
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Quote Originally Posted by internet_imran View Post
    ......I could not work out on the code that your have provided before six month.....
    Now i am again start this difficult task.
    ...Your are great and work very well time to time when i require your help.
    Now the task is near to complete, there are few issues concern this.
    ......

    It will be very difficult for me to pick this Thread up after such a long time. !!!
    With no reply or feedback for 6 Months after I did an extensive amount of work for you, you will appreciate the whole issues are not particularly clear in my mind.
    It would take me some time to get back into understanding and remembering this thread!!

    I may be able to help some time later but cannot promise anything.

    In the meantime I think you should consider the following very carefully:

    The codes I did for you were continually modified and added to as your requirements changed or were added to.

    The codes are now ridiculously long, very inefficient and have a lot of redundant parts in them.

    You should try to think very carefully of exactly what you want and are likely to want in the Future.

    You should think very carefully to taking some time to learn and understand more about the code you have so far.

    It may save everyone’s time in the long run if you start a fresh with a new code, one which you understand.

    _................

    If I am able to help I will try to post again in a few days. But please consider very carefully what I have said above.

    Alan

  51. #51
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Sorry Mr. Alan.
    I disturbed you again, all of you have precious time from which you give us. I was lazy and cannot complete it due to my personal and official activities. Next time i will be consider the above points in my mind.

    Imran

  52. #52
    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
    52,936

    Re: copy of Summary Accounts and Balances to next Sheet

    I have to agree with Allan that trying to pick up a thread again after 6 months can be problematic (heck I have problems picking up a thread I helped on, after just a week lol)

    I would say that 1 of the biggest challenges we face on the forum (and Im sure on most forums like this) is what is called scope creep. This what happens when a member asks a question, gets an answer, and then asks...ok, but can we also now add in "this" etc.

    While this is a natural tendency, it can be at least partially avoided by careful consideration of what is really required, and then sticking to that. If more is needed, perhaps start a new thread with the extra requirements, and refer back to the question that has already been completed
    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

  53. #53
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran


    I have just spent a couple of hours for you trying to remember what I did for you 7 Months ago.
    It is very difficult.
    If I am to have the slightest chance to help you, then you must give much better and more accurate information

    In Post #48 you

    _1) are talking about a code that “code sheets create named“. I have no idea what code you are talking about. In quotes I see you reference File “ImranMahmoodDevelopmentJuly.xlsm“ . There is no code to make sheets in that File. ( Or I have forgotten and cannot find it !!! )
    There is certainly no Excel Code anywhere on this Earth called “code sheets create named“ !!!

    _2) Also in Post #48 the last two screenshots are the same !?!?
    _.....................

    I appreciate that you have difficulty in speaking English.

    But if you cannot explain better exactly what you are referring to more accurately and precisely, then there is no chance whatsoever of anyone helping. If I cannot understand which Files and codes you are talking about in the Files and codes I gave you, then no one can!!!!
    I may have a last chance to help in a few Days. But you must do much much better to explain. You must refer to and give exactly ( return to me ) the exact Files and codes and tell me exactly what you want and where I find the codes you are referring to.
    In the last 7 Months I have had many many Files to store and have wriitten many long codes for People.
    I cannot find or remember after 7 Months where everything is that I did for you

    You have now a very last chance to get help on this project from me. ( And I cannot imagine anyone else wanting to take a look at this Project!!! And certainly no Sane Person will want to look at any of the codes I did for you. It does not fill me with much Joy and happiness looking at them myself after 7 Months!!! )
    You will only get that help from me if you make a very big improvement in explaining better what your problem is.
    Alan

    Alan

  54. #54
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Thank you very much Mr. Alan

    I did not explain you very well in my Post # 48. So, again I am trying........................

    I am talking about the code provided by you in the Post # 44 ( in 8 parts ) named Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2() ...............................

    Here is link....
    http://www.excelforum.com/developmen...ml#post4263059

    When i combine these 8 codes in one file and run it. There is one problem I have to face......


    this code InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2() works great and made sheets based on Column values F, G and than copy data from database sheet and paste to new sheets. Here is great approach of you.


    Problem....

    This code is also made sheets based on J Column value but not correctly here is a problem.



    Thanks you..

    Imran

  55. #55
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    Thanks for the extra info.
    I am trying very hard just now to try and remember all I did for you.
    http://www.excelforum.com/showthread.php?t=1147913
    This is taking me a lot of very hard work as I have forgotten everything that I did for you after such a long time.
    If I manage to do this and re-understand all that I have done, then I will then see if I can understand and help with your current problem.

    This is very hard and lots of work for me
    I will try.
    Alan

  56. #56
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    Please show me exactly how your Cash 111 and Cash 112 Worksheet should Look.

    Please use the data in the database Worksheet in the File (“ ImranSh_t234.xlsm” ) that I used just now to answer your other Thread:
    http://www.excelforum.com/showthread...t=#post4432168
    File is here:
    http://www.excelforum.com/showthread...07#post4434807


    Make sure that the hand filled data you give looks exactly as it should ( as you want it ) when the code runs using the data in Worksheet database.

    Alan

  57. #57
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran..
    _1 ) I read carefully whole Thread again. I Also see after long hard read of all Thread, now Old File from you I find
    internet_imranAfter_9_Trial Balance Pending working.xlsm (Post # 15 )
    You do good show how Worksheet 111 and 112 should look - But I forgot after 7 Months!!
    _2) Now I see also small problem in code ( You did not notice yet ? ) Extra spaces , like
    "Accounts Payable___ ",
    Let CSide() = Array("Accounts Payable ", "Common Stock ", "Marketing Fees ", "Notes Payable ", "Rental Revenue ", "Retained Earnings ", "Service Revenue")
    For example, then
    "Accounts Payable___", Here is incorrect ( from me ) extra space there is
    Using Excel 2007 32 bit
    Row\Col
    N
    O
    P
    Q
    R
    2
    Account No.
    3
    Balance
    4
    Credit
    Debit
    Credit
    5
    6
    7
    400
    8
    500
    (100)
    9
    600
    10
    1000
    (400)
    11
    (400)
    12
    Accounts Payable
    _........................
    Is wrong so I correct:
    "Accounts Payable"
    Is now good
    Row\Col
    N
    O
    P
    Q
    R
    S
    T
    2
    Account No.
    3
    Balance
    4
    Credit
    Debit
    Credit
    5
    6
    7
    (400)
    8
    500
    100
    9
    (600)
    10
    1000
    400
    11
    400
    12
    Accounts Payable
    Correct
    _.....................................................

    Other problems I do think can solve soon.*

    Alan





    EDIT:
    *I just did

    Final Post "2001 a Post Oddity"



    http://www.excelforum.com/showthread...t=#post4435858


    http://www.excelforum.com/showthread...t=#post4436541







    Edit 20th July 2016:
    Just to summarise in the absence of any reply ( anywhere! ) as yet form Imam?
    The original code, Sub InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2() , does not now appear to produce exactly what is wanted. Never the less I have done a detailed explanation of it starting from here: ( I needed to do this to remember what I did 7 Months previously!!)
    http://www.excelforum.com/showthread...13#post4435472
    _..............................

    Regarding the new “problem” and new requirement from Post #49 and # 50.
    http://www.excelforum.com/showthread...t=#post4418278
    http://www.excelforum.com/showthread...t=#post4418293
    ( Noting these may well have been the original requirements anyway ?!?)
    These are now SOLVED with either of the two new codes referenced here.
    At those references given you will find explanations ( mostly the different second section to the code Above (InfractionsWilyWonk_JackSht_111_112_BluePrintWolyWonky2() ) . Following the explanations, the code is given. ( I had to post it in 8 sections to fit it all in. But in each case it is just one code. Each part should be copied directly under the previous part in the same Code Module. )

    New Code 1
    Sub WilyWonk_JackSht_111_112_113____BluePrintWolyWonky2()
    http://www.excelforum.com/showthread...t=#post4435858

    New Code 2
    Sub WilyWonk_JackSht_Descrip_111_113_BluePrintWolyWonky2()
    http://www.excelforum.com/showthread...t=#post4436541
    In this second, code 2, was anticipating what might be asked for at a later date, either as an additional requirement ( or in case that might be the original requirement not yet fully explained! )

    _...........................................................
    In addition to all the above I have in this Thread
    http://www.excelforum.com/showthread.php?t=1147913
    Tried to summarise and explain the best I can the whole History of the requirement as presented in this Forum by Imran. There are also many other detailed explanations of the development of some code sections.
    Last edited by Doc.AElstein; 07-21-2016 at 03:56 AM.

  58. #58
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan

    Thank you very much, I am reading your all reply and thread. Moreover I am looking all links provided by you in this thread.

    Imran

  59. #59
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Imran
    You are welcome, thanks for the Feedback
    There is lots for you to go through!!!
    Alan

  60. #60
    Forum Contributor
    Join Date
    12-24-2005
    Posts
    104

    Re: copy of Summary Accounts and Balances to next Sheet

    Hi Alan

    Thank you so much for your time and support. you give me a great knowledge. My dear friend this is a extraordinary help. Now this is complete.

    Regards,

    Imran

  61. #61
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy of Summary Accounts and Balances to next Sheet

    Quote Originally Posted by internet_imran View Post
    Hi Alan
    Thank you so much for your time and support. you give me a great knowledge. My dear friend this is a extraordinary help. Now this is complete.
    Regards,
    Imran
    Hi Imran

    You are welcome
    Thanks for the Feedback
    Best wishes for the future
    Good luck
    Alan


    آپکا خیر مقدم ہے
    تبصرے کا شکریہ
    مستقبل کے لیے نیک خواہشات
    اچھی قسمت


    Alan

+ 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. Copy range from current open sheet to a summary sheet
    By capomo64 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-16-2015, 10:07 AM
  2. copy Data in relation with there balances
    By demahom08 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-05-2013, 04:33 AM
  3. Replies: 1
    Last Post: 03-28-2013, 02:49 PM
  4. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  5. [SOLVED] Repeated action - shorten macro - copy from each sheet to summary sheet
    By sans in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-07-2012, 11:37 AM
  6. Copy table information into Summary Sheet and All Data Sheet
    By stage in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2011, 03:54 PM
  7. Replies: 1
    Last Post: 08-19-2006, 05:50 PM

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