[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

04/18/2006 at 01:32PM PDT, ID: 21818252
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

In Excel, is there a way to automatically (programatically) format tables?

Asked by Dsastray in Visual Basic Programming

Tags: excel

I have crosstab queries that I export from access into excel. I would love to figure out a way to automatically format this data into nice looking tables (ultimately published in a report in Word).

I have a before and after photo example you can refer to (this is my 1st attempt at utilizing free image hosting, so let me know if it is not working.)
Before:
http://img384.imageshack.us/img384/4339/sourcedata4iy.jpg

After:
http://img137.imageshack.us/img137/3656/formatteddata2cp.jpg

Here are some criteria:

1) Have to be able to figure out what constitutes a distinct section of the table, so the borders can be applied properly. (I.e. thick borders around Grade 6, Grade 8 etc.)
2) Be able to color over a column (i.e., in this case, the State 2005 data)
3) Grey separators for table titles
4) appropriate manipulation of font size, bold, ital, justification

A pretty tall order. If you look in the sourcedata picture at column A, I have tentatively begun titling rows with labels that might be parsed to help interpret the nature of the row, i.e. "lblSpacer_TblTitle," "lblSpacer_Grade," "lblSpacer_SourceYear" in addtition to the labels I am using for the individual variables.

In the past, some have suggested pivottables, but when I tried, it would not let me put text data in the 'body' of the table, so I was at a loss of how to make it work (for example, in addition to the grade and year labels, some cells might need to read "n/a," if data were unavailable for past years). Another suggestion  was that Crystal Reports should be able to make tables similar to this; I could not find references to this ability in the many Crystal tutorials I found online, I could not actually see a potent difference between Crystal's report engine and Access's.

What I would like is something that can automatically deal with different variations that might arise and format appropriately; A year might be missing, or an entire grade:
http://img384.imageshack.us/img384/1153/variationsource0fe.jpg
http://img384.imageshack.us/img384/5994/variationformatted8in.jpg

While I'm shooting for the moon, how about automatically adjusting column widths so that it makes the table have the same dimensions.

Am I going about this in the hardest possible way? Let me know that, too.
[+][-]04/18/06 01:36 PM, ID: 16481982

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/18/06 01:48 PM, ID: 16482072

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/18/06 01:54 PM, ID: 16482109

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/18/06 04:24 PM, ID: 16483056

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/18/06 05:36 PM, ID: 16483418

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/18/06 05:38 PM, ID: 16483423

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/19/06 11:56 AM, ID: 16491036

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/19/06 12:16 PM, ID: 16491297

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/19/06 02:17 PM, ID: 16492610

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/19/06 03:18 PM, ID: 16493138

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/19/06 03:21 PM, ID: 16493175

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/19/06 03:32 PM, ID: 16493267

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Tags: excel
Sign Up Now!
Solution Provided By: jimbobmcgee
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04/24/06 12:21 PM, ID: 16528262

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/09/06 02:04 PM, ID: 16643270

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74