VBA - Excel - Display one section of sheet using different column widths - vba

I couldn't figure out how to word the question, so please comment if you have a better wording.
I am creating a report the has multiple sections, all displayed on one sheet. One of the sections need to be displayed at equal column widths, while the rest of the report has varying column widths. What I would like to do is display this section as some sort of chart/table that will display as if it was part of a continuous report. Should I be using listboxes or is there a better option?
Thanks for any help.

I'm not sure I completely understand your question, but from what I do understand, maybe what you could do is put the part with the fixed column widths on another part of your sheet and then:
Copy it
Go to where you want it in the report and Paste Special > Linked Picture (I)
I think that would give you what you're looking to accomplish, otherwise, please clarify a bit more...

Related

Highlight Every other row that contains information in column A vba

I was hoping you guys could help me figure something out. I am trying to get excel to highlight every other row that contains any information in column A
so it would look like this:
I haven't been able to make any proper headway into this but I was hoping you guys might be able to give me some basic direction.
You can do this without VBA, just use conditional formatting.
Mark the Range, go to Conditional formatting, add a new rule with rule type "Use a formula to determine which cells to format" and enter
=AND($A1<>"",MOD(ROW(),2)=1)
(depending on the regional setting, you might have to exchange the "," with ";" - same syntax as a regular formula)
Then, click the "Format" button and select a fill color.
Convert a range into a table in Excel:
You can make your range of data into a table (including auto-formatting):
Select (highlight) the cells (including the heading if there is one).
Hit Ctrl+T.
Hit Enter.
There are several ways you can then customize your table, such as the options on the ribbon.
More Information:
Office.com : Create or delete an Excel table
Office.com : Overview of Excel tables
Several other tutorials and examples on Google Search.

Displaying rows based on column label in Excel for a Pivot Table

I'm facing the following problem. I have a very large excel sheet in the format attached as a picture. For reasons beyond my control the basic formatting of this sheet needs to be maintained as people with no skill want to be able to edit this.
However, I need to work with the content and as it is quite large, it is really unreadable. So what I wanted to do is to be able to find the tasks belonging to different departments and the different people. My approach was to create two pivot tables where I want a dropdown list with either the department or the person to be able to filter on the tasks that that belong to each of them. I have found how to filter on a dropdown menu, however this is for column entries. What I want to do is to filter on the column labels and then display the tasks for which the column I selected is non empty.
I need some help on the direction in which I need to search for the answer to this problem as I'm currently lost in solutions that have nothing to do with this problem.
Thanks in advance
You can use Power Query Excel 2010+ you can download and activate easily or by default in 2016 version. There you can keep this format for your users and a pivot table for control.

drillthrough on text (not cell)

Just want to know if this is even possible, before I drive myself insane in google-searches.
I know how to drillthrough to another rapport when the user clicks on a cell. But what if the cell has multiple values, e.g. Server-names (comma-seperated), and I only want to pass the servername that the user clicked?
As I see you can only pass the values of the whole cell or what?
Using reporting services 2012 R2 with report builder 3.0.
Thanks
I don't think you can do that directly but...
You could create a subreport that accepts the comma separated list of servers as it's parameter.
The subreport would then split these into separate cells and have an action on the cell that then take you to the drill through report. I done something similar in the past and it's work quite nicely. You just need to make the subreport nice and small so it'll fit in you existing cell.
It you wanted to keep them on a single line then subreport would have to be a matrix with a column group grouped by servername. It won't be as compact as a comma separated list as the columns will all have to be wide enough to fit the longest name but it works.
If you need any more help I'll provide more more detailed solution but this hopefully will get you going.

extract data in exel sheet using macro

you most probably going to think "what an idiot" but remember i never done any type of coding before so this is all new to me,
My problem are that i'm working on a HUGE excel sheet with loads of data that is not needed. i need to sort the data into a few columns, i only need column "A,K,AN,AQ" but in column "AS" i only need certain values (yes,no,blank) i only want the yes and blank values. like i said never done any coding before but i know that you can use an macro to do it so please help, how do i go about this?
before trying to get into macros, try to use functions with if else statements. They are quite easy to handle. Like: If (yes) then put it into X. Later, you could select all needed. Also, check the, how the dollar sign is used
use this links to see, if it is something for you.
One quick and dirty way of getting this job done would be to:
Delete the columns you don't need.
Select all cells in the range you're interested in, click the Insert menu, and choose "Table". If your columns have titles, select the box for "My Table has Headers."
-This turns your data into an array so that Excel recognizes that each row is an entry (instead of thinking that the cells are unrelated).
Now you can use the filter icon in the column headers to select and display only the rows containing the values in column X that you're interested in.
Note that there are some limitations to what the table feature is good for, so, as always, whether this is a good solution for you depends on what you want to do with the data.

Need help: Chart Web part and list header style in SP 2010

I have 2 questions here, please help me.
First one, i would like to know on what basis Chart Web part y-axis columns are taken. why i could not get my own site columns in Y-axis. Please refer the below image.
Second question, i have created a list but when i add Description & Comments (multiple text) fields, the text color is coming differently. The text color is not matching with the other list column names. Please let me know how to correct this..??
Thanks for your guidance & help.
Y field will have to be numeric. X field can be any type. This would make sense, because if it is not numeric how will you show it in the chart? if the column is a choice column, etc. you can create a calculated column that reflects the original column but outputs a number.
Description and Comments are coming up as different because they cannot be sorted or filtered. They are there to provice a visual indication to the end user. you can ofcourse change them usign CSS/jquery...