+ Reply to Thread
Results 1 to 4 of 4

Move column with remain format cells and number stored as text

  1. #1
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Move column with remain format cells and number stored as text

    Rearrange column and move data from sheet raw to sheet result.

    before move,
    allowance code and hour is number stored as text
    amount is 2 decimal places

    after move, all these were gone.

    How to add in additional macros to remain number stored as text and 2 decimal points.
    Attached Files Attached Files
    Last edited by Shermaine2010; 01-15-2017 at 05:31 AM.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Move column with remain format cells and number stored as text

    This works
    Uses copy & paste which also takes the format with it
    Run in the attached file with {CTRL} + t

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Move column with remain format cells and number stored as text

    The code you provided to supper short and sharp.
    Thank you so much

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Move column with remain format cells and number stored as text

    You are welcome
    Thanks for the reps

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to make number format remain same even if vba executed from different geolocations?
    By Richavlaues in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-09-2016, 11:15 AM
  2. Replies: 5
    Last Post: 04-01-2014, 09:37 AM
  3. Converting a range of numbers stored as text to number format w/o looping
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-23-2013, 04:40 AM
  4. Replies: 4
    Last Post: 11-13-2012, 02:16 PM
  5. Convert Excel cells stored as text to date and number coming from notepad
    By Fire_d in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2010, 12:34 AM
  6. Number stored as text. How do I keep the number format?
    By staying in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2006, 11:57 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