+ Reply to Thread
Results 1 to 3 of 3

Macro is not Working Properly

  1. #1
    Forum Contributor
    Join Date
    01-11-2016
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    125

    Macro is not Working Properly

    Good Afternoon Excel Masters,

    I created a macro that calculates dates. What i want to do is; if someone invests in three investment funds and wants to withdraw some cash from these three investment funds combined on a same date, the macro will calculate the perfect date that the person has to request. Each investment fund has a different rule, for example, if a person requests cash withdrawal today, it will take 3 days for the cash to convert, and 1 day to liquidate (this in fund A). Fund B could be 5 days to convert and 3 days to liquidate, and so on. I have a working macro, but for some reason, it does not read the numbers 0 and 1.


    By the way, in the attached workbook, there are three tabs, "Principal" = where the funds are entered, "Feriado" = Holidays and "Lista de Dados" = where all the information about the funds are (in this worksheet, Column B is conversion days, and Column D is Liquidation days. Also, Column C is Workdays, and Column E is always Workdays, if its "Sim", its Yes, and if its "Não", its No.)

    Can you guys please help me? I am really stuck.
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Macro is not Working Properly

    What should the answers be??
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Macro is not Working Properly

    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 go to your first 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)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Macro not working properly as add-in
    By TZ Saic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2015, 07:54 AM
  2. macro not working properly
    By cooner3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2014, 10:16 AM
  3. Macro isn't working properly.
    By EAgerton in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2014, 01:14 AM
  4. Macro Not Working Properly
    By fasrose in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:49 PM
  5. Recorded Macro not Working Properly
    By ilias in forum Excel General
    Replies: 1
    Last Post: 07-15-2010, 09:47 AM
  6. Text macro not working properly
    By hunsnowboarder in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-25-2008, 08:28 AM
  7. [SOLVED] Macro Not Working Properly
    By PA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2006, 11:40 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