Results 1 to 3 of 3

executing python via vba

Threaded View

  1. #1
    Registered User
    Join Date
    12-23-2021
    Location
    Boston, USA
    MS-Off Ver
    MS 365 version 16.63.1
    Posts
    50

    executing python via vba

    Hello.
    I use excel for Mac. I get an error when executing the following short vba macro.
    Sub TestMacScript()
        Dim script As String
    
        script = "tell application ""Finder"" to activate"
        MacScript (script)
    End Sub

    This is the error message:

    Screen Shot 2024-05-03 at 1.21.44 AM.png

    Did anyone encounter the same prob?

    Thanks guys
    Sophia
    Last edited by AliGW; 05-05-2024 at 03:33 AM. Reason: Code tags added - please review the forum guidelines.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Python vs VBA with Excel
    By andrewc in forum Excel General
    Replies: 2
    Last Post: 07-18-2021, 06:58 AM
  2. Vba / python / api ?????
    By wherdzik in forum Excel General
    Replies: 0
    Last Post: 05-27-2020, 09:26 AM
  3. [SOLVED] Python Question
    By LiLi1 in forum The Water Cooler
    Replies: 3
    Last Post: 08-14-2019, 01:57 PM
  4. Python Question
    By LiLi1 in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-13-2019, 11:10 PM
  5. Python
    By ImranBhatti in forum The Water Cooler
    Replies: 4
    Last Post: 09-28-2018, 07:41 AM
  6. VBA & Python
    By snb in forum The Water Cooler
    Replies: 2
    Last Post: 02-26-2018, 05:50 PM
  7. Excel and Python
    By davidlawrence in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2008, 08:42 AM

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