+ Reply to Thread
Results 1 to 2 of 2

Move formulas to another column then preserve values in 1st column

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    1

    Move formulas to another column then preserve values in 1st column



    Every month I need to move the formulas over to the next column, then preserve the numbers that I took the formulas from. Here is what I will do this month:

    Highlight CJ4 to about CJ100, copy, select CL4, paste. Select CJ4, paste special, values only.

    How can I do this with a macro? Sometimes, like between Dec and Jan, there will be a quarter total column.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Move formulas to another column then preserve values in 1st column

    Hi Malanis,

    Try this:

    Please Login or Register  to view this content.
    Copy the code to the clipboard
    Press ALT + F11 to open the Visual Basic Editor.
    Select Module from the Insert menu
    Type "Option Explicit" then paste the code into the white space on the right.

    With the cursor between Sub and End Sub press F5 OR

    Press ALT + Q to close the code window.
    Press ALT + F8 then double click on the macroname (Malanis)
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. HELP: Move values from column to rows based on Column A
    By ExceJunkie in forum Excel General
    Replies: 2
    Last Post: 05-30-2013, 08:09 AM
  2. VBA to copy formulas in column D and paste as values in same column
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2012, 05:18 AM
  3. Move values from column A to B
    By stfarm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2006, 07:52 AM
  4. [SOLVED] Convert Formulas to Values and Preserve Formatting
    By Tenacity in forum Excel General
    Replies: 2
    Last Post: 08-11-2005, 08:05 PM
  5. [SOLVED] Move column values w/o formula
    By Greg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2005, 06: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