+ Reply to Thread
Results 1 to 2 of 2

Help in Thinking Through Process

  1. #1
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2010
    Posts
    278

    Help in Thinking Through Process

    Hi, I have an Excel report that queries an SQL database to get data after which there is a lot of formatting and calculating that needs to be done. (They want pretty colors and lines and all sorts of formatting stuff.) There will be about 50 columns and there is a print range that prints only a portion of those columns.

    My question is:
    • would it be better to set up the query so that it brings in blank columns in the appropriate locations (where calculating needs to occur) and have the formatting all set up, just mainly coding the calculations through vba
    or
    • would it be better to just bring back the data and then add all the columns/calculations in the correct locations and do the formatting

    They have changed their minds many times about what columns they want and where they want them, so by "better" I mean easier/cleaner code-wise to modify and faster performance.

    When it's done, it lives in SharePoint and multiple people access and run it weekly.

    Any thoughts/suggestions?
    Thank you.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Help in Thinking Through Process

    The latter. Adding formatting in VBA is drop-dead simple.

+ 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