Results 1 to 18 of 18

Thread: Excel???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31
    Is there a maximum number of columns available for use in Excel?

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    this is only a guess but I would say over 6000
    More than you could possibly use with any degree of sanity.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    I only seem to be able to have a maximum of 256 columns. It is funny that you mentioned 6000 as that is the number that I require.

  4. #4
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    According to help:

    Maximum worksheet size 65,536 rows by 256 columns

  5. #5
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Re: re

    Originally posted by timbo
    I only seem to be able to have a maximum of 256 columns. It is funny that you mentioned 6000 as that is the number that I require.
    Just out of curiousity, what is it you're doing that would require 6000 columns?

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    I'm calculating a differential equation with time steps of 0.01 seconds over 60 seconds. These values are in an array and I need to display them on a graph as a single line. I cannot get MSChart to work so I am trying put the values into Excel and then display them.

    If you have any suggestions I would be very grateful.

    Thanks.

  7. #7
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    How many rows do you currently have (can you swap rows for columns in your current scheme)?

  8. #8
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    everything = 256

    Guess I did the math wrong
    There are 26 letters a to z and 26 variances for each of the letters used.

    A to z = 26
    aa to az = 26
    ba to bz = 26
    etc.
    Where I screwed up was I used the whole alph + 9.6
    when I should have used 9.6 as it doesn't use the whole
    alph, it only goes to iV.

    Sorry, for my ______ !

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    I tried that but it seems to print out x number of individual lines rather than one line with x number of points on it.

  10. #10
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Using the chart wizard, select "Series in" to be column instead of rows.

    Or, right click on the chart, select source data, and make sure the column button is checked

    [Edited by JHausmann on 08-28-2000 at 07:10 PM]

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    This'll seem a stupid question but where do I find chart wizard!

  12. #12
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Either select "Chart" from the insert menu or pick the pretty chart button on the toolbar (right next to sort descending).

  13. #13

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    Embarressingly enough, I still can't find it!

  14. #14
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    It's on the "standard" toolbar, check to see that you have it enabled. Counting from 1, it's the 19th item in the Excel 97 tool bar ( a small bar chart, with blue, yellow and red bars [yellow being the highest])

  15. #15

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    That explains it - I was looking at the VB toolbar!

    I have a VB program that works out the values and it puts them into Excel. How then can I import the graph produced back into VB?

    Thanks again.

  16. #16
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Make the chart (after you've populated the column) in Excel with "macro" recording active. When you're done, copy the code generated by Excel into your VB program (you will have to modify it, slightly, to ensure that it's using the correct excel objects).

    [Edited by JHausmann on 08-28-2000 at 07:40 PM]

  17. #17

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    31

    re

    Hello,

    Where exactly can I find the code which is generated by Excel?

    Thanks.

  18. #18
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    by selecting Macro..Macros [alt-f8] and chosing the macro you created or by selecting the Macro..Visual Basic Editor [alt f11] and finding it in module1. Both are invoked from the "tools" menu, if you choose not to use the alt key to get there...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width