+ Reply to Thread
Results 1 to 16 of 16

vectors end to end to make network diagram

  1. #1
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    vectors end to end to make network diagram

    Hi All,
    I have a list of 100 or more microwave radio links. These links collectively make a network.
    Currently the practice is for people to update an excel list when links are planned, installed or deleted, they then manually add lines to a network drawing. This leads to errors - when the network drawing is not updated or incorrectly updated

    The network has a start point and many hubs and daisy chains and end points.

    Please see also attachments for better understanding
    microwave network maps illustrates an example

    The Vector zip from ozgrid shows how endToend vectors can be used which is sort of what I need.

    Any ideas to point down the straight and narrow much appreciated


    Cheers

    Simon

    ps
    I have heard that excel can be used to drive vectors onto Google Earth using Lats and Longs; this would be ideal but well beyond what is needed.
    Attached Files Attached Files
    Last edited by simonsmith; 03-03-2010 at 02:01 AM.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: vectors end to end to make network diagram

    why dont you use the coordinates of each plot?
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Re: vectors end to end to make network diagram

    Hi Pyke,
    a link is has a direction and a distance. I can add GPS co-ordinates for the sites but I still need to draw lines between them to represent the microwave links.
    Currently the list of links and their status is manually reviewed then a network map is manually updated using this data. I thought that the two could be linked somehow. the Vector zip class suggested that this might be possible but does not demonstrate multiple vectors coming from one site, only a single set of end to end vectors

    Any help appreciated

    Cheers

    Simon

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: vectors end to end to make network diagram

    Arrons vectors does it all
    You just need to play around with the code

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: vectors end to end to make network diagram

    Here's what I have after playing around for > 2 hours !!

    I'm now of to the pentry to wipe off my forehead.

    I must note that this is hacking in someone else's code and it needs optimization.
    At least you can play around with it.
    Attached Files Attached Files
    Last edited by rwgrietveld; 03-04-2010 at 05:56 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  6. #6
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Re: vectors end to end to make network diagram

    Thanks a lot for your help rwgrietveld, I will check it out tonight

    Cheers

    Simon

  7. #7
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Re: vectors end to end to make network diagram

    Hi rwgrietveld,
    when I push the macro button I get a run time 70 error and "permission denied".
    Why do you think that would be? This is a work computer but I have run macros on here before.

    Cheers

    Simon

  8. #8
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: vectors end to end to make network diagram

    I do not know. If you step into the code with F8, what happens. Where is it giving an error?

  9. #9
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Re: vectors end to end to make network diagram

    Hey there Ricardo,
    What I think is the first "1-'2" vector and label 2 are drawn then a then line that looks like vector "1-3", it then produces the error at [Vector1.Draw] in the ['Draw Sequence]
    I notice it is an .xlsm file and you use 2007/ 2010, I am using 2003 as does the company. When I open your file it goes through a conversion first, could this be an issue?

    Cheers

    Simon

  10. #10
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: vectors end to end to make network diagram

    here is a 2003 version. I'll ask Pike to have a look as well.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Re: vectors end to end to make network diagram

    Thanks for looking into this Ricardo and indeed changing it to 2003. When I open it and push the macro button without changing any data the same error message 70 comes up. I have tried this on some other people's computers that are not company ones and I get the same problem. Also took off security settings in case this was an issue.

    Cheers

    Simon

  12. #12
    Registered User
    Join Date
    05-08-2006
    Posts
    76

    Re: vectors end to end to make network diagram

    This issue is closed.
    No resolution but thank you all anyway. The information gained here has helped a lot anyway.

    Cheers

    Simon

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: vectors end to end to make network diagram

    Don't give up, Simon ...
    Entia non sunt multiplicanda sine necessitate

  14. #14
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: vectors end to end to make network diagram

    FYI the Error 70 is cause by trying to name a shape with one that is already in use.
    Cheers
    Andy
    www.andypope.info

  15. #15
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: vectors end to end to make network diagram

    Try the attached; run Main.

    The code is pretty ugly.
    Last edited by shg; 03-21-2010 at 02:43 PM. Reason: Remove attachment

  16. #16
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: vectors end to end to make network diagram

    Corrected the orientation, did a little cleanup, but the data structures are still lousy.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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