+ Reply to Thread
Results 1 to 2 of 2

macro to change the format of cells once pasted

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    macro to change the format of cells once pasted

    hi all,

    can someone help me on my problem..

    I have a data in column A like ,7,9,181,78,100

    What i need to is to change the format if the data pasted in column a1 = 7, it should be change to 007,
    if 78 then should be 078.

    Hope you can help me..

  2. #2
    Registered User
    Join Date
    07-05-2016
    Location
    St Paul
    MS-Off Ver
    Office 2007
    Posts
    1

    Re: macro to change the format of cells once pasted

    You can just format your Column A to Custom 000.

    format-cells.png

+ 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. [SOLVED] VBA Code To Change Pasted Cells as Values
    By windme in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-16-2016, 02:44 PM
  2. [SOLVED] Save Notepad through VBA Macro, having Copied Range of Cells, Pasted into notepad
    By analystbank in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-22-2014, 02:14 AM
  3. MACRO to change the format of all worksheets into a specified format
    By usama.anwar in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-01-2013, 04:57 PM
  4. Macro won't read cells that have been pasted
    By rjm87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-28-2012, 09:22 PM
  5. Dates change when cut and pasted
    By calif2ariz in forum Excel General
    Replies: 6
    Last Post: 12-19-2010, 03:08 PM
  6. Cells Format change after running a macro
    By iman1300 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2010, 12:37 PM
  7. How to Change Pasted Data Format in Macro
    By alachape in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-04-2008, 04:05 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