Closed Thread
Results 1 to 2 of 2

Function to retain text format

  1. #1
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Function to retain text format

    Hi,

    Anyone knows to create function to retain text formatting.

    I found code on net but seem it does not work on me.
    https://excel.tips.net/T003213_Match...atenating.html

    PHP Code: 
    Function FmtText(rng As Range)
        
    Application.Volatile
        FmtText 
    rng.Cells(1).Text
    End 
    Function 
    any ideas?
    Click * below if this answer helped

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Function to retain text format

    You already have a thread running on this issue: https://www.excelforum.com/excel-pro...me-format.html

    This thread is now closed as a duplicate. Duplicate threads are not allowed here. Please be patient and continue in the original thread.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Retain the text format for a Email Body while sending mail with VBA
    By Ravisca2003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2017, 11:47 AM
  2. Retain time format whilst formatting cell to text?
    By y_not in forum Excel General
    Replies: 2
    Last Post: 11-03-2016, 11:17 PM
  3. Replies: 2
    Last Post: 10-29-2014, 10:23 AM
  4. Need to retain text format in code to import all csv files in folder
    By rebubula in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-14-2014, 06:04 PM
  5. Want to retain text format
    By Baalbek in forum Excel General
    Replies: 10
    Last Post: 06-12-2009, 07:35 AM
  6. Retain Numbers as Text Format When Importing.
    By xardoz in forum Excel General
    Replies: 2
    Last Post: 06-20-2006, 12:20 PM
  7. Retain text format from a WORD document
    By Willisbar in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-09-2005, 11:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1