#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default xlFill

I'm guessing that what you're talking about is something like:
ActiveCell.HorizontalAlignment = xlFill

I don't think there is a HorizontalAlignment that truncates text, which
seems to be what you want.

You could try setting the HorizontalAlignment to xlHAlignGeneral and
making sure there is something (a space will do) in the cell to its right.


Joey Lawerence wrote:
What's the story with xlFill. I'm having problems finding
documentation on it. I thought if text in a cell
overlapped the next cell xlFill will cut it off at the
cell's edge. Which it does do. But I also noticed that if
the cell has little text and empty space in the cell then
xlfill will copy the text over and over till the cell is
filled. I need the text to stop at the cells edge. Any
suggestions.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"