Consulting

Results 1 to 5 of 5

Thread: Pyhton Script Called by xlwings Addin

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,709
    Location
    VBA doesn't do scripts. VBA does source code. It compiles.
    vbs does scripts

    As far as your python script, I don't know if anybody here uses Python. Wait and see

    However
    wb.sheets[0].range('A1').value

    Might need to read
    wb.sheets[1].range('A1').value

    Even better would be to pass the Name of the Worksheet, the numerical index depends on it's tab position.

    Also, I am clueless if 'A1' will reach the Excel Workbook as "A1". The lack of capitalization of the Collections will probable by OK.



    What is the error in my understanding or my approach?
    Hard to say... You haven't given us your entire "approach."
    Last edited by SamT; 10-29-2017 at 05:39 PM.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

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
  •