+ Reply to Thread
Results 1 to 5 of 5

Debt Sculpting VBA for Solar Energy Project Financing [Request for general code review]

  1. #1
    Registered User
    Join Date
    07-20-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    3

    Cool Debt Sculpting VBA for Solar Energy Project Financing [Request for general code review]

    Hello Excel Forum,

    We have created a free-to-use, open-source, financial model we call "Abacus" for use in renewable energy transactions. In the current model, we have fully-functioning VBA macros which can 1) sculpt debt by cutting and pasting the calculated values until the difference between the calculated and pasted value equals zero, and 2) maximizes the usage of leverage to stay within target metrics. I'm happy to say the macros work very well, but given our knowledge of VBA is intermediate, we could use the help of any experts who could help us speed up our macros or simplify our code would be an enormous help.

    You can find more information on our project at getabacus dot org.

    Under the open-source model we will, of course, recognize any help given with a shoutout in our changelog!

    Would anyone be able to do a review of our VBA macros (1-2 pages total code) to see what improvements can be made?

    Best Regards,

    The Abacus Team
    Attached Files Attached Files
    Last edited by 6StringJazzer; 07-21-2020 at 02:38 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Debt Sculpting VBA Macro for Solar Energy Project Financing

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    Since this is your first post and we do not allow hot links for new posters, here it is:

    https://www.mrexcel.com/board/thread...jects.1140708/
    Last edited by 6StringJazzer; 07-21-2020 at 04:05 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Debt Sculpting VBA for Solar Energy Project Financing [Request for general code review

    Please see my comments in the code. I have made very little actual change.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-20-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    3

    Re: Debt Sculpting VBA for Solar Energy Project Financing [Request for general code review

    Thank you! Will be sure to link to cross-posts in the future (new to these forums).

  5. #5
    Registered User
    Join Date
    07-20-2020
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    3

    Re: Debt Sculpting VBA for Solar Energy Project Financing [Request for general code review

    Hi 6StringJazzer,

    As a quick follow up from your response, on my machine I am getting a tun-time error 5 (invalid procedure call or argument), and the following line is highlighted:

    Err.Raise Number:=Err.Number, Description:=Err.Description

    Could this be because there was no error, and therefore nothing to reference? Thanks for any thoughts you may have!

+ 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. Need vba to copy data from rawdata depends upon list of debt into debt sheet
    By MicroTees in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2016, 04:30 PM
  2. Replies: 4
    Last Post: 07-30-2015, 11:58 AM
  3. Margin sculpting
    By jebibg in forum Excel General
    Replies: 3
    Last Post: 01-26-2012, 11:44 PM
  4. Cut and paste interest expense, debt schedule macro
    By fr3shjiv3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2009, 02:06 AM
  5. Help with Macro: summing together/roll over rows (Energy Trading, see example)
    By dstock in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2005, 03:39 PM
  6. [SOLVED] Macro cases for accounting/banking/financing
    By Jon in forum Excel General
    Replies: 1
    Last Post: 03-14-2005, 10:06 PM
  7. [SOLVED] Need to know percapita consumer debt. Debt amount is 2121.1 bill.
    By cabe88 in forum Excel General
    Replies: 6
    Last Post: 03-09-2005, 04:06 PM

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