+ Reply to Thread
Results 1 to 3 of 3

Create smart art org chart with VBA incredibly slow

  1. #1
    Registered User
    Join Date
    12-10-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    4

    Create smart art org chart with VBA incredibly slow

    The vba code below generates an org chart based on a simple excel table. It works fine for a small org chart consisting up to 30 nodes. However when I try to create an org chart of more than 100 nodes it gets insanely slow. It runs for 20 minutes or so before completing the org chart.
    How can I make this code run faster?

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Jvanderschelling; 02-16-2020 at 01:16 PM. Reason: Add sample workbook

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Create smart art org chart with VBA incredibly slow

    Nothing immediately jumps out as needing a tweak to speed up the SmartArt, but you could try turning off more than just Application.ScreenUpdating

    See this >> https://stackoverflow.com/questions/...-macro-running

    Do you have a small sample file to test?
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    12-10-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Create smart art org chart with VBA incredibly slow

    Jeff,
    I added a sample file. Appreciate suggestions for speeding up the code!
    Thanks.
    Johan.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using Excel to create a hierarchy SMart Art
    By L.forster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2019, 02:47 AM
  2. [SOLVED] VBA to create line chart at slow speed.
    By rtcwlomax in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-20-2015, 05:33 AM
  3. incredibly slow file
    By alexanderdeluna in forum Excel General
    Replies: 2
    Last Post: 03-24-2014, 09:00 PM
  4. Spreasheet is incredibly slow
    By par0016 in forum Excel General
    Replies: 1
    Last Post: 02-24-2013, 11:07 AM
  5. Create a smart seating chart with specified criteria
    By jbellows in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 02:22 PM
  6. vlookup to .xlsm macro is incredibly slow
    By jrussell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2009, 03:43 PM
  7. Replies: 1
    Last Post: 07-17-2005, 11:05 PM

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