LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Make a cell value include number formats


I am trying to file append a phone number in excel with the number
format I designate. However when I append the cell to a new file it
doesn't include my number format. How can I accomplish this?

Cell Value

5552879898

Cell NumberFormat

###-###-####

Cell Value Display in Excel

555-287-9898

File Append Cell Value

5552879898

The following code only makes it appear in excel the way it should.


Code:
--------------------
Columns("R:R").Select
Selection.NumberFormat = "###-###-####"

--------------------


Thanks for any help.

Scott


--
Djmask
------------------------------------------------------------------------
Djmask's Profile: http://www.excelforum.com/member.php...o&userid=24414
View this thread: http://www.excelforum.com/showthread...hreadid=401726

 
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
Vlookup to include conditional formats Trish Excel Worksheet Functions 3 June 5th 09 07:05 PM
Mixing number formats in one cell Craig860 Excel Discussion (Misc queries) 5 March 18th 09 07:58 PM
How do I determine the number of cell formats in this workbook tucsonmissiledude Excel Discussion (Misc queries) 2 October 28th 05 05:59 AM
change ten digits in a cell to include phone # formats Judi Mason Excel Discussion (Misc queries) 5 October 25th 05 06:39 PM
Maximum Number of Cell Formats Jim Allen Excel Discussion (Misc queries) 4 April 19th 05 07:07 PM


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