+ Reply to Thread
Results 1 to 5 of 5

Run Macro in Excel from Autocad

Hybrid View

  1. #1
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Run Macro in Excel from Autocad

    Hi Breizh29

    You have enclosed your code in Quote Tags not Code tags, if you correct this then I will have a look, your code appears to be cut short.

    I wrote the Excel/AutoCad macro

    Cheers
    Alistair

  2. #2
    Registered User
    Join Date
    03-11-2010
    Location
    SINGAPORE
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Run Macro in Excel from Autocad

    Thanks Alistair,
    yes this is a part of your code.
    As i have many code lines below i did not want to overload the page.
    I tried this afternoon in running the macro direct from Excel, it works without problem.
    Then when i execute from ACAD with the code above, it seems to launch it on excel, but then Excel freeze.
    I think the macro in ACAD runs the macro from excel from the first WS ( where it shoudl be run), but then try to access "Sheet1" in the same time, where the data ( result of the macro) resides.
    I may have to enter a code that waits for the end of the macro, before it can continue its code in ACAD ?
    Thanks for your help.

+ 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