Solved

ms excel vba: is there a way to make the space between wrapped text lines smaller

Posted on 2013-06-24
12
234 Views
Last Modified: 2014-01-11
I am trying to cram a lot of text into very small cells and I notice alot of space is wasted by excel placing the lines of text way to far apart. in other words I wish wrapped lines were more closely packed is that possible?
0
Comment
Question by:Dov_B
  • 6
  • 6
12 Comments
 
LVL 45

Accepted Solution

by:
aikimark earned 500 total points
ID: 39276665
You could reduce the size of the font, thereby reducing the vertical "space" between wrapped lines.
0
 

Author Comment

by:Dov_B
ID: 39278789
thats the thing I dont want to reduce the font size.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 39278819
Then I don't understand what you are trying to accomplish.  If you are trying to put a lot of text into a cell, you could transfer the text to a cell comment, which would display in response to the user's mouse actions.

It isn't clear what your actual problem is.  You phrased your question in inter-line (vertical) distance when lines are wrapped.  However, I do not think that is the problem I need to understand in order to post a solution.
0
 

Author Comment

by:Dov_B
ID: 39278834
wow thanks for the quick response! Well heres the whole story.
I need to pack say something like up to ten words in this tiny cell without making the font size microscopic In theory If I could keep it at 8 or above. So I was thinking that if I could lower the vertical distance between the wrapped lines I could get more wrapped lines visible in the cell. comments are not an option howver because I print these worksheets which I dont know if it is possible to do at all or lined up correctly the way you get it in a cell.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 39278845
Is this only the printing part that you are worried about or what data the user can see and what actions are required to see it?
0
 

Author Comment

by:Dov_B
ID: 39278852
well I am mainly concerned with printing that is what this worksheets end user is going to look at, the printed sheet of paper
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 45

Expert Comment

by:aikimark
ID: 39278864
It would help the experts in all your open questions if you would post an example workbook that will illustrate your problem.  If necessary, you might want to include current and desired states of output (screen or print.
0
 

Author Comment

by:Dov_B
ID: 39278894
thanks for the tip sorry for the lack of clarity
expertsexchange-sample.xlsx
0
 
LVL 45

Expert Comment

by:aikimark
ID: 39279055
do a print preview of Sheet1
expertsexchange-sample.xlsx
0
 

Author Comment

by:Dov_B
ID: 39279071
Thanks so much however I need the cells to remain the teensy width for a reason you made them too wide for my puroses
0
 
LVL 45

Expert Comment

by:aikimark
ID: 39279091
Did the data print out in landscape format?

Why do you need the more narrow width?
0
 

Author Comment

by:Dov_B
ID: 39279102
well I took out out parts of the template before I sent it to you , but trust me I had more words stuffed on that page then are visible to an electron microscope.
I just got tons of stuff and I need to lesten the distance between lines. but thanx so much for your efforts!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now