Excel "Edit Inside a Cell" Aligns Content Left Instead of Center - excel

I have an issue with software I have been creating in Excel. At a random point when creating the software, all of the cells are now left aligning temporarily when being edited inside of the cell, rather than maintaining their alignment. Take a look at the attached GIF. Has anyone seen this before?
Why is it that when a new excel file is created, the desired behavior occurs? (text maintains its alignment while being edited)

Related

Change Excel chart legend text entry without editing the data?

I have a Powerpoint presentation that I need to refine and it includes some charts from Excel (I did not make them). However, those charts were copypasted and the originals are no longer available - but some legend text entries are wrong because the data were modified in the meantime. Is there a way to change ONLY the entries without going on Excel and selecting the data? Basically doing it visually in some way? The data on Excel are still the same, it's only the name of the series the charts refer to that has changed, but doing the charts from scratch all over again would require quite a lot of time because the format of the original Excel tables is now completely different.
Essentially the charts are just fine, the colours are also fine, it's just one legend entry that is wrong.
Copy as an image then edit using a picture editor.
But how was the data updated as you state it was modified then you say the data is still the same.
You could even make a dummy chart and create the legends in the correct font and size, then copy those and paste on the original image, done with an eye for detail and it won't be noticeable.

Extra column inserted before other columns when exporting to excel

I know how tricky it is to align things in a way that allows a clean export to excel, however, on this one I am stumped and have never seen it before.
Anyone know why the excel rendering extension insists on inserting a column like in the attached image?
Things that I have tried.
Set the table's position to 0,0.
Removed all borders and padding.
Set the report margins to 0,0,0,0
NOTE : I am using the EXCELOPENXML rendering format as opposed to EXCEL in order to support *.xlxs.
Groupings:
First Column in the Designer:
The report was being rendered as a sub report and was placed in a rectangle and aligned right in the main report, however, the rectangle was one twip off from left align. Once I aligned the rectangle in the main report, the phantom column disappeared.

Why are Excel's camera tool and paste as picture cropping and resizing?

When I copy and paste as values or use the camera tool (essential for dashboards, VBA driven reports, etc.), the pasted/camera snapped image doesn't line up with the chosen columns.
I've got the answer to this (see below), but this stumped me for some time.
The issue here happens (and is fixed by) the native content resizing of windows. If "Change the size of text, apps and other items" isn't 100% (e.g. 125%), and especially if it flags in red that you need to log out and back in for applications to pick up the change, excel and many other products will handle screen shots very weirdly.
So this isn't a solution in excel. That's what stumped me, and buggered up (technical term) a number of my dashboards. FYI!

Change format of all data labels of a single series at once

I have an Excel 2010 chart, with several series. I have added data labels to one of the series. I want to change the font size of all labels of that series at once. Can it be done?
Note that if the contents of data labels are combinations of the three standard options in the Format Data Labels dialog ("Series Name", "X Value", or "Y Value"), I simply change the font size in the ribbon and it works.
But if data labels contain cell references (i.e., formulas), I could only change the font size of one label at a time.
I guess a macro would help. I tried something a while ago, and faced a sequence of problems (do not remember exactly which).
Anyone knows of a shorter/alternative solution?
It appears I found the cause.
Referring to the figure, whenever any of the cells referred to by the data labels is empty (e.g., deleting the contents of D4), I cannot change the font size.
If I reinstate D4, I can change the font size again. This is reproducible for the simple worksheet/chart of the figure.
According to this,
Workaround 1: Fill up all empty cells referred to. Change the format of labels. Remove added contents.
Workaround 2: Change to a dummy range for the data labels, which has no empty cells. Change the format of labels. Switch back to your intended range.
This might require The XY Chart Labeler, an excellent add-in by Rob Bovey.
This does not always work (there are cases where one cannot change font even with all non-empty cells), so there should be another possible cause for the problem (besides the one reported).
A workaround:
For the workbook, Save As... (you can even use the same workbook name). The problem goes away.
But if you close the file and open it again, the problem reappears.
Most of the times it works.
A workaround (found prior to #1):
A very poor solution, but which possibly saves quite a few keystrokes/mouse clicks in many cases. Select the whole chart, and change the font size in the ribbon. It will change all text. Then recover the font size of all other text but the data labels.
It won't work in charts with more than one series with such data labels, if you want them to have different sizes!
A quick way to solve this is to:
Go to the chart and left mouse click on the 'data series' you want to edit.
Click anywhere in formula bar above. Don't change anything.
Click the 'tick icon' just to the left of the formula bar.
Go straight back to the same data series and right mouse click, and choose add data labels
This has worked in Excel 2016. Purely by luck I worked this out saving a great deal of time and frustration.

Report Builder 3.0 / VS2012 - How does one create a fixed-sized detail area of a report?

I am having some issues with Report Builder 3.0 and VS2012 in creating a invoice-like report that contains a fixed-sized section where detail rows will display. This section must be of fixed size so that each rendered report page will fit in a specific space regardless of the number of items. Items that would not fit then print on a new report page with the header and footer repeated.
I am not able to accomplish making the detail area a fixed-size. After searching for help and only coming up with some old (and unanswered) MS TechNet questions, I took the advice of this TechNet article which suggests using a rectangle inside of a tablix cell, then placing a detail tablix inside of the rectangle to achieve this effect.
This practice does allow me to add any amount of whitespace to the report, but it does not remain a fixed-size. On rendering the report, the rectangle will increase in size for each detail row (even though the rectangle is already big enough to fit the row), resulting in anything below the rectangle to be pushed onto new and unwanted pages. The rectangle doesn't have a "CanGrow" property to prevent this.
I have tried setting the "CanGrow" property on the detail tablix cells to "false". This only limits the actual cell from applying text wrap and expanding to fit cell contents; it doesn't appear to affect the rectangle. I have also set the "CanGrow" property on the parent tablix cell to "false", but this has no effect. Incidentally, I found that when I add a rectangle inside of the parent tablix cell, the "CanGrow" property will reset to "true".
To rule out an issue with Report Builder, I attempted to create the same report in VS2012 (as a .rdlc). I encountered the same design problems.
I have four questions:
Is this the correct way to go about creating the effect I need?
If so, what part am I missing?
Is there a another solution?
Are SSRS reports capable of this at all?
Here's a visual example of what I'm trying to create:
To fix your issue you should change the ConsumeContainerWhitespace property of the report to True.
ConsumeContainerWhitespace Link
This will also fix white-space problems with reports created in SSRS 2005 as in this version whitespace was automatically consumed.
See SSRS 2008R2 changes

Resources