Results 1 to 2 of 2

add remove zeros formula to macro

Threaded View

  1. #1
    Registered User
    Join Date
    10-14-2013
    Location
    uk
    MS-Off Ver
    2016
    Posts
    87

    add remove zeros formula to macro

    Hi Folks
    I have used macro recorder to get me part way to where I want to be, I am now unsure how to proceed.

    The macro deletes some columns C,D,G,H,I,J
    Cuts column titled Valuated Stock and moves it to be the second column. Inserts a blank column at the end with the same formatting as the table. Centres all text and numbers, and places borders around all cells. Add new location heading to last column.
    I understand the macro recorder code may be improved.

    The last thing I would like to do is remove the zeros from Valuated Stock. I have managed to find this formula which seems to do the job
    =LEFT(E2,LEN(E2)-2)*1
    But am uncertain how to proceed/include it in the macro


    Example attached
    Two tabs Desired outcome and Original
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Remove zeros from dates
    By bkatzman in forum Excel General
    Replies: 16
    Last Post: 12-24-2021, 09:26 PM
  2. remove leading zeros
    By kisanvikas2015 in forum Excel General
    Replies: 3
    Last Post: 05-08-2015, 09:00 AM
  3. [SOLVED] Loop with formula to remove zeros
    By Odracir in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-11-2015, 09:11 PM
  4. Remove leading Zeros
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 01-22-2015, 06:47 PM
  5. Remove trailing zeros?
    By arreferee in forum Excel General
    Replies: 1
    Last Post: 01-14-2013, 09:00 PM
  6. macro to remove rows with zeros in them
    By antonyjones101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2009, 03:53 PM
  7. Remove zeros
    By xgirl in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-13-2005, 09:06 AM

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