Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JTA JTA is offline
external usenet poster
 
Posts: 1
Default Special custom fill function which adds periods at the end of text

I use to prepare a financial report with text in one column and numbers in
the second column. As a result of the amount of blank space between the text
to the end of the column (before the column with the number), I use to know a
special code which automatically added periods (.......) to fill up the cell
to end of the column. I am looking to find out what that custom code is to
permit me to automatically add those periods at the end of each text field:
For Example:
Cash....................................... $2,000
Accounts Receivable................. 4,500,
etc.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Special custom fill function which adds periods at the end of text

FormatCellsNumberCustom

@*.

That is @ asterisk dot(no spaces)

A handy macro.

Sub Leaders()
Selection.NumberFormat = "@*."
End Sub


Gord Dibben MS Excel MVP


On Tue, 1 Apr 2008 12:17:02 -0700, JTA wrote:

I use to prepare a financial report with text in one column and numbers in
the second column. As a result of the amount of blank space between the text
to the end of the column (before the column with the number), I use to know a
special code which automatically added periods (.......) to fill up the cell
to end of the column. I am looking to find out what that custom code is to
permit me to automatically add those periods at the end of each text field:
For Example:
Cash....................................... $2,000
Accounts Receivable................. 4,500,
etc.


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
How to refer to a text piece in a VBA custom function? FARAZ QURESHI Excel Discussion (Misc queries) 2 January 27th 08 03:11 PM
HOW to calculate the interest paid between 2 custom periods? TiDz Excel Worksheet Functions 1 June 30th 06 12:46 PM
Custom number formats in TEXT function MatthewB Excel Worksheet Functions 4 June 28th 06 09:05 PM
special formatting adds extra zeroes nosnil14 Excel Worksheet Functions 0 February 1st 06 03:51 PM
Auto Fill Pay Periods bdehning Excel Discussion (Misc queries) 4 December 8th 05 10:06 AM


All times are GMT +1. The time now is 07:16 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"