+ Reply to Thread
Results 1 to 29 of 29

speeding up code that is super slow

Hybrid View

  1. #1
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: speeding up code that is super slow

    Did you know ?

    with ws4
      .Range("A57:J58,A9:J9,A4:J4").Borders.LineStyle = xlContinuous
      .Range("A4:A8").Borders(xlEdgeLeft).LineStyle = xlContinuous
      .Range("J6:J8").Borders(xlEdgeRight).LineStyle = xlContinuous
     
      .Range("A57:H57") = split("DROP|PICK UP|FLAT|ASSY|DELIVERY||MODIFICATIONS|INSTALLATION|","|")
      .RANGE("a58:h58")=ARRAY(.[I3],.[J3],.K3],.[L3],"",.[O3],.[N3],[Q3])
    End With
    But maybe its better to design a formatted master sheet that can be copied every time you need a new sheet based on this format. You better not use VBA for designing/formatting.
    Last edited by snb; 05-18-2011 at 01:20 PM.



  2. #2
    Registered User
    Join Date
    10-31-2010
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    95

    Re: speeding up code that is super slow

    Ok, I just made the spreadsheets live and have run into a snag.

    The Traffic Spreadsheet is shared so myself and the traffic department can both edit it. The problem is that when I click the button to run the above script, I get an error saying that the function can not be performed because the document is shared.

    Suggestions?

+ 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