Results 1 to 4 of 4

Thread: Seeking advice from advance excel gurus on this forum

  1. #1
    Acolyte matrix's Avatar
    Join Date
    Dec 2019
    Posts
    25
    Articles
    0
    Excel Version
    2019

    Seeking advice from advance excel gurus on this forum



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hello excel world.


    I am seeking advice from advance excel gurus on this forum.


    Here's the concern.


    I found this code with its photo below searching online:


    string strCountry = US; // Set country ( sheet name )
    plotxy iy:=[Book1]strCountry$!(1,2) plot:=200 ogl:=[<new template:=LINE12>]; // Plot into graph template LINE12 that is pre-created.
    plotxy iy:=[Book2]strCountry$!(1,2) plot:=200 ogl:=1;
    layer -g; //Group plots


    Click image for larger version. 

Name:	PlotTwoSheets.png 
Views:	14 
Size:	53.2 KB 
ID:	9917


    My problem here is this:


    #1 How can I modify this code to automatically detect, the same worksheet names on each workbook. Example: Workbook (A) worksheet (United States) and workbook (B) worksheet (United States)


    Now
    Workbook (A) have 181 worksheets. (Each worksheet represent a country) And
    Workbook (B) have 185 worksheets. (Each worksheet represent a country) Next.


    #2 How can I modify the code to create a line and column chart automatically? Placing dates on the X axis and values from both workbooks using their prospective worksheets on both sides of the Y axis, beginning from the zero value.


    How can this be done automatically, filling each worksheet with a chart, while extracting data from each workbook?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	PlotTwoSheets.png 
Views:	3 
Size:	53.2 KB 
ID:	9916  

  2. #2
    Administrator Pecoflyer's Avatar
    Join Date
    Oct 2011
    Location
    Brussels Belgium
    Posts
    1,737
    Articles
    0
    Excel Version
    2010 on Xubuntu
    Hi and welcome
    Please,do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    If you have fewer than 10 posts here, you will not be able to post a link, but you must still tell us where else you have asked the question

    Do not post any further responses in this thread until a link has been provided to these cross posts.
    Thank you Ken for this secure forum.

  3. #3
    Acolyte matrix's Avatar
    Join Date
    Dec 2019
    Posts
    25
    Articles
    0
    Excel Version
    2019
    Hello Pecoflyer.

    I am sorry for breaking the rules. It wouldn't happen again. I realize the information above don't apply to excel. And I am requesting if you can end this discussion. As I am new to excel. Would create a new post. Thanks in advance Pecoflyer.

  4. #4
    Administrator AliGW's Avatar
    Join Date
    Nov 2015
    Location
    Ipswich, Suffolk, England
    Posts
    1,523
    Articles
    0
    Excel Version
    Office 365 Subscription
    You need to provide the link requested. If you open another thread, it will be closed.
    Ali
    Enthusiastic self-taught user of MS Excel!

Tags for this Thread

Posting Permissions

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