+ Reply to Thread
Results 1 to 2 of 2

Partial Chart

  1. #1
    Registered User
    Join Date
    12-25-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2013
    Posts
    77

    Partial Chart

    I seem to have found the solution to this, but I don't know why it's a problem.

    I have a text file of my daily progress as an investor. It's just a date and a value going back to 1983. My Excel VBA reads the file, and creates a .csv file with a column for daily, 10 day, 30 day, 60 day and 90 day moving averages. To keep the chart readable, it only displays the last 200 or so days (I have the option of selecting any 200 day range).

    After it builds the .csv file, it uses that file to make build and display the chart. It works fine on my I7 Notebook (which has the Home and Office version), but on my I5 Desktop (which has the 365 version) only a few days of the chart are displayed. I have VBA code on the display that resets everything and lets me start over. If I "reset" it, it works fine. Actually if I close the program, and run it again it runs fine.

    It almost seems as if the Chart code is running before the .csv file is complete, but since instructions run in sequence, that doesn't seem possible.

    My work around which seems to work so far is to put a 1 second delay before building the chart (a half second sometimes failed). So my question is, why is this necessary?

    Please Login or Register  to view this content.
    Last edited by JeffLeites; 02-23-2021 at 12:53 AM. Reason: Add Code Tags

  2. #2
    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,885

    Re: Partial Chart

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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. [SOLVED] Please help on COUNTIF Partial text, partial text/words also contained in other texts
    By maria.h in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2020, 10:18 PM
  2. Replies: 3
    Last Post: 04-09-2018, 10:42 AM
  3. Pie Chart One cell the whole and another a partial of the whole
    By rfigueroa1976 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-19-2017, 11:21 PM
  4. [SOLVED] Lookup partial values and if match return partial value from another cell
    By Renejorgensen in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-01-2017, 07:53 AM
  5. Partial Stacked Chart
    By kitttieluv in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-13-2016, 11:13 PM
  6. Partial data versus total on the same chart
    By cyberuser in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-02-2013, 05:20 AM
  7. [SOLVED] need to do Partial name search and return the value against the partial name
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2013, 09:40 AM

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