Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Create Visio Horizontal Swimlane from Excel ActiveSheet
Thanks Thanks: 0 Likes Likes: 0

  1. #11
    New Member
    Join Date
    Sep 2016
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Create Visio Horizontal Swimlane from Excel ActiveSheet

    could you please someone help me about Run-time error '-2032465766 (86db089a)'

  2. #12
    New Member
    Join Date
    May 2019
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Create Visio Horizontal Swimlane from Excel ActiveSheet

    Hi,

    Is there any way we can change the colour of connectors using the data from excel.

  3. #13
    Board Regular pbornemeier's Avatar
    Join Date
    May 2005
    Location
    Virginia Beach, VA USA
    Posts
    3,682
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    2 Thread(s)

    Default Re: Create Visio Horizontal Swimlane from Excel ActiveSheet

    The short answer is yes. As for details, I can't help right now other than an outline.

    Turn on the macro recorder in visio and place then change the color of a connector.
    The code to change the color of the connector should be similar to the code in other posts in this thread which should be adaptable to your needs.
    I did not distinguish connectors, so just placed the default connector between the shapes I had interest in.
    If you ALWAYS have single connector leaving a shape then you can just a connector color to the shape row in the input worksheet.
    If there is a chance for multiple connectors, you will have to add a separate entry for each connector and remove the default connector code that I used.
    Phil

    - Use CODE tags to keep your code formatted. See: BB Tags
    - How to attach Screenshots
    - Try searching for your answer first, see how
    - Test and validate results for all code on a copy of your worksheet!! How do you use the code you just found?
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

  4. #14
    New Member
    Join Date
    Aug 2019
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Create Visio Horizontal Swimlane from Excel ActiveSheet

    Hi Phil,

    Your macro is amazing. I started working on Visio few weeks ago. I tried to use the macro recorder to resolve my issues but I got really confused... I have two questions for you.

    1. Is there any possibility to create vertical flowchart?
    2. Is there any way to add column (column I) with color name/color code? I'd like to have marked shapes for example on green/blue/red. I tried to use your tips https://www.mrexcel.com/forum/excel-...ml#post3542233 but still couldn't do it.

    Thank you

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •