Solved

Excel 2010 - Text not aligning at bottom of cell!

Posted on 2016-11-18
5
60 Views
Last Modified: 2016-11-19
I specified text to align in the bottom of the cell but it's not doing it.
(See graphic).
I chose align bottom (see button) but it's not happening.
How to fix?
err
0
Comment
Question by:brothertruffle880
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 48

Expert Comment

by:Martin Liss
ID: 41893841
Do you possibly have things like line feeds at the end of the text?
0
 
LVL 48

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 41893849
Here's an easy way to tell. Add this macro to a module and run it.
Sub LineFeeds()
Dim rngAddress As Range
Set rngAddress = Application.InputBox(prompt:="Which cell do you want to check?", Type:=8)

If Len(rngAddress.Value) > Len(Replace(rngAddress.Value, vbLf, "")) Then
    MsgBox "Cell contains " & Len(rngAddress.Value) - Len(Replace(rngAddress.Value, vbLf, "")) & " line feeds"
End If

If Len(rngAddress.Value) > Len(Replace(rngAddress.Value, vbCrLf, "")) Then
    MsgBox "Cell contains " & Len(rngAddress.Value) - Len(Replace(rngAddress.Value, vbCrLf, "")) & " carriage return line feeds"
End If

End Sub

Open in new window

0
 
LVL 7

Expert Comment

by:D Patel
ID: 41893973
Adjust the cell height and width to fit the contents. They try.

D Patel
0
 

Author Comment

by:brothertruffle880
ID: 41894417
Thanks Martin!  Perfect.
0
 
LVL 48

Expert Comment

by:Martin Liss
ID: 41894425
You're welcome and I'm glad I was able to help.

If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2016
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2015
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question