Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm using the outline function in Excel to create an indented bill of materials (BOM) and I'd like to automatically color the rows by their outline level. A BOM is a list of parts in a product. For each sub assy in the BOM, it is typically indented to show the product structure and the Excel outline function works well for this.
What I'd like is for each level of the outline to be colored differently to aid in visualizing the BOM. I can't figure out how to capture the outline level in order to apply conditional formatting to make that happen.
Frankly, I'm after just what is described in this question, except my outline is by row instead of by column. I have not been successful in getting the solution offered there to work and haven't found another solution here or elsewhere online. I think there are assumptions made there that I don't understand or I'm not implementing the custom function properly. I'm not permitted to comment on that solution for clarification, which is why I posted a new question.
Can anyone help me get that solution to work or offer an alternative?
Thank you.
I found a partial answer. It's not quite what I want, but it's an improvement.
This section of the Office Support article on outlines describes how to apply styles to an outline. I had tried it, but the built in styles only change levels one and two and then only apply bold and italics. I simply didn't see the changes. By modifying the built in styles, they became more distinct.
That said, it only applies those styles to the lead line at each level, not to every item at each level:
Auto Styles
So, while it does help, it's not exactly what I want. I'd really like every line to have formatting corresponding to its level in the outline. As you can see in the image above, it's not easy to see where an outline level stops using this auto formatting.
This is a better solution, but I'll leave the other because it may help someone else.
Post #4 in this thread at Mr. Excel describes how to report the outline level in a cell. It's old, so the menu picks are different. You get to the Define name dialog by selecting the cell, right mouse and pick Define Name from the pop up menu.
Now that I have the outline level in a cell, I was able to use regular conditional formatting rules to format the worksheet:
Fully Colored
This does require you to save it as a macro enabled workbook.
Related
These are options that can be found under the Code dropdown menu. Both of them seem to arrange the code in a similar manner.
There are 2 things that we might want to do after writing a piece of code:
Order all the attributes in a certain way, like arrange them in ascending/descending order alphabetically.
Remove the extra spaces/tabs that we might have given and arrange them in a proper indented format.
Rearrange code just does the 1st point, arranges it according to android code style guidelines. Reformat code does both 1st and 2nd point.
Rearranging code does more things than just reformat the code.
As mentioned in the docs, you can also change the placement of variables as well and define some custom rules which will be used when you rearrange the code.
This will be my first Add-In. Please bear with me.
The goal of my add-in application is to replicate a very tedious, repetitive work by a user. She tells me that she initiates her task by clicking in some sort of combo box or drop-down menu and typing several digits, followed by a click on the "Ok" button.
Question No. 1: What is the official name of that contraption (the one in mustard color) and how is it coded into an Excel cell?
I gather than Add-Ins are coded using something called "Object Model"? I have seen about 4 lines of such code.
Is there a statement like this?
ClickOnCell("E32");
That contraption is a filter.
If she always types the same number into the filter search then you could store the filter as a custom view in the sheet.
Due to the lack of responses, both here and in 2 Microsoft forums, I have decided that the answer is:
There is no way
Then again, with only 13 people reading the question, the chances of one of them knowing the answer are very low.
This has been marked as answered and duplicated when asked again, but the solution provided in that "answer" does not actually use the legend to toggle the series, it uses a different set of check boxes to do the toggling, NOT THE LEGEND. I wish people here would actually read questions and look at the answers provided or accepted before deciding they are already answered or duplicates.
The answer accepted here does not use the legend to toggle the series:
Toggle data series by clicking legend in flot chart?
Therefore, the actual question has not been answered, the user just opted for a different solution. So I'll ask again, does someone know of a way to toggle data series using the legend. Before anyone asks for my code, I have tried this about 20 different ways without success, there's no point in posting it. I just need a simple example with more than one data set that actually works. If you really need me to provide a basic flot chart with 3 or 4 data sets I can.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
My users gave me a spreadsheet to research why our program wasn't able to import.
I have been slowly dissecting it, and so far have deleted every single column and tab except for one.
I have selected and deleted all cells and made sure there were none hidden.
I have also checked that there is no code associated with the tab.
And yet, the file size is still 8 megs! If I create a new tab so I can delete the original, it then shrinks to a few k.
Where else could something be hiding in the tab to keep that size?
UNTESTED!
Extraordinarily large (bytes) workbooks with very little apparent content are all too often created by data dumps into Excel.
One reason can be that the extraction code has been included with the data (check Developer, Visual Basic).
More likely to have a significant size impact is formatting, that can be detected by Editing, Find & Select, Go To Special, Last cell and observing the highlighted cell is a long way from the last ‘occupied’ cell. This can be fixed as below:
Select row immediately below the last ‘occupied’ row.
Ctrl+Shift+Down.
Del.
Save.
Size may also be increased by embedded objects (check Editing, Find & Select, Selection Pane) and also the content of Comments even where these are not displayed. [The specific answer to this question.]
Pivot tables with broken links may also be a cause.
Other causes can include the likes of the apparently blank ‘last cell’ indeed being occupied (say with a font colour to match the background) or other hidden objects.
Note that in all cases the file size may not reduce in response to ‘deletions’ until it is saved.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have an excel spreadsheet that performs many calculations based on 4 cells to come up with a certain figure. I have been tasked to convert this spreadsheet to a widget like component that can be embedded into a web application.
Is there an easy way to display or understand the embedded formula's in the excel spreadsheet, so that I have an easier time converting them into ActionScript?
Thanks.
If I understand you correctly. Tools|Options|Windows Options and then check the Formulas box. That will show the formulas instead of the values. And it should open up the Formula Audting tool bar. Those tools should give you want you want.
Have you looked at Calc4Web? I've never used it, so I can't give a review, but the basic idea is that it generates C++ code from spreadsheet logic.
If you simply want to view the actual formula, not the result (the value), then when you are active on the cell which has formula you wish to see, press CTRL + (grave accent). The grave accent is usually one key to the left of the number 1 key on most keyboards. This works as a toggle, so if you press CTRK + (the grave accent key) again - the value will appear as it was prior to you pressing that keystroke combination.
Additional:
If you wish to show ALL of the forumlae for the entire workbook, then follow these steps:
Click the Office button on the top-left and then click the Excel Options button in the bottom right of that window that comes up..
Click the "Advanced" tab in the left pane.
Scroll down to the display pptions for "This Worksheet" section
Select the "Show Formulas in Cells Instead of Their Calculated Results" check box and then click OK.
Since there doesn’t appear to be an easy way to convert excel spreadsheets into ActionScript I suggest you view the formulas and try to solve them by hand if the amount of data isn’t to large or by writing a throw away script if a lot of data is required. This way you will understand the calculations and can implement them in ActionScript rather then relying on a wizard whose code you may or may not understand.
You can also toggle this setting from the keyboard by Ctrl+~ (that's the tilde, the first key in th numbers row)
So, if you want to quickly see the formula in a cell and come back to the normal view, just press Ctrl+~ twice