Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Dashes in cells

Cols A thru M have varying widths.

Cells A1 thru M1 contain data.
Cells A2 thru M2 are empty.
Cells A3 thru M3 contain data.

I want each cell in A2 thru M2 to contain a string of dashes (i.e., "-"). Each string must have the same length as the column-widths in the adjacent columns.

How do I do that?
  #2   Report Post  
Junior Member
 
Posts: 25
Default Try this:

Select the column or columns that you want to change.

On the Home tab, in the Cells group, click Format.

Under Cell Size, click Column Width.

In the Column width box, type the value that you want.

Click OK.

Match the column width to another column
Select a cell in the column that has the width that you want to use.

Press Ctrl+C, or on the Home tab, in the Clipboard group, click Copy
.
Right-click a cell in the target column, point to Paste Special, and then click the Keep Source Columns Widths Button image button

Regards,
Jerry
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to change numbers with dashes to numbers with no dashes cheryltraining Excel Discussion (Misc queries) 3 November 3rd 09 07:23 PM
dashes around cells lsg Excel Discussion (Misc queries) 3 October 8th 09 11:33 PM
format cells not to except dashes kclover Excel Discussion (Misc queries) 2 November 29th 05 06:26 PM
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content rmaloy Excel Programming 5 February 9th 04 02:59 AM


All times are GMT +1. The time now is 02:31 PM.

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

About Us

"It's about Microsoft Excel"