+ Reply to Thread
Results 1 to 1 of 1

I can't enter cell data after generating a chart

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

    I can't enter cell data after generating a chart

    I'll try to keep this simple I have a workbook with macros. It works with a .txt file containing a date and an amount. The first sheet is called Controls. It has two push buttons.

    The first button triggers code to read the .txt file and fill in a 2nd sheet called WorkPad with columns for the amount, and 10, 30, 60 and 90 day averages, then automatically display a Chart sheet with a line chart. I can click on the Control Sheet tab to redisplay the Control sheet.

    The second button triggers code to read the .txt file and fill in the WorkPad with columns for monthly high, low and close amounts, then automatically display a Chart sheet with a HLC chart.

    There is code for both charts to drop a certain amount of the first lines from the WorkPad so that the charts will only use x number of the latest lines to prevent too much data squishing the charts.

    This has all worked fine for many years.

    I just added code to allow me to enter a date on the Control sheet to stop reading the txt file after that date. That allows me to chart older data.

    The problem is, when I click on the Control sheet after the chart has been generated, I want to be able to enter a new date, and I can't enter the date or anything else on the Control Sheet unless I open the WorkPad sheet, and then go back to the Control sheet. (The buttons still work) I came up with a workaround, which was to add a Reset sheet/tab. It's code has one line to activate the Control sheet. So it's doing the same thing as displaying the WorkPad sheet then opening the Control sheet again. SO either way I can enter into the Control Sheet again.

    I thought it was a coding problem, but the strange thing is, when I run the same workbook on another computer, there is no problem and I can enter a new date into the Control sheet right after displaying the chart. This leads me to believe that the problem is not in the code, but perhaps an Excel option setting that is different from on one computer than the other. I just don't know which option it would be.

    Any ideas?
    Last edited by JeffLeites; 12-28-2020 at 01:48 PM.

+ 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. Generating Table & Chart from Sheet with complex data
    By mark14 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-17-2020, 03:38 AM
  2. Replies: 1
    Last Post: 10-22-2019, 02:16 AM
  3. [SOLVED] Enter number in blank cell match number on sheet 2 & enter data from adjacent cell
    By Bikeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2015, 08:36 PM
  4. Generating data for a chart but not storing it in sheet
    By nleahcim in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-25-2012, 03:53 PM
  5. Enter data, drop down 1 cell, enter more... etc...
    By Darth269 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2012, 05:21 PM
  6. Auto enter data from cell above on enter
    By GSXR1000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2006, 10:06 AM
  7. how do I enter data labels for a bar chart and get them to update
    By drpixel in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-01-2006, 09:30 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