+ Reply to Thread
Results 1 to 5 of 5

No output from xlwings RunPython Macro

  1. #1
    Registered User
    Join Date
    10-29-2017
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    No output from xlwings RunPython Macro

    I am attempting to use a basic example of xlwings. I have the following VBA script:

    Please Login or Register  to view this content.
    Which is in the same directory as the python script VBAtester.py:

    Please Login or Register  to view this content.
    The VBA script runs and outputs the message box; but *'TEST VALUE'* does not show in cell A1, or elsewhere. I know the python script is being called as if I purposefully put errors in my python script VBA will callback these errors when I run the VBA script that calls the python script.

    From the documentation, http://docs.xlwings.org/en/stable/quickstart.html, I do not see my error.

    What is the error in my understanding or my approach?
    Last edited by branches; 10-29-2017 at 12:28 PM.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,493

    Re: No output from xlwings RunPython Macro

    Cross-Post at this link
    http://www.vbaexpress.com/forum/show...unPython-Macro
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    16,575

    Re: No output from xlwings RunPython Macro

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    16,575

    Re: No output from xlwings RunPython Macro

    Your post does not comply with Rule 8 of our Forum RULES. 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.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    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).

  5. #5
    Registered User
    Join Date
    10-29-2017
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: No output from xlwings RunPython Macro

    Apologies, I will not cross-post again.

    I'll read the forum rules more thoroughly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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