+ Reply to Thread
Results 1 to 2 of 2

Cell Format Maintenance via Macro

  1. #1
    Registered User
    Join Date
    11-29-2007
    Posts
    10

    Cell Format Maintenance via Macro

    Hey guys,

    I have a column that I often paste information to from a source with the following formats:

    Align Text Right
    Bottom Align

    However, I would like this information to always paste with:

    Center
    Middle Align

    Would it be possible to make a macro that automatically intercepts these copy/pastes formats and changes them to Center/Middle Align?

    I need this to occur for all information in Columns B through H and J.

    Thanks,
    Chris

  2. #2
    Registered User
    Join Date
    06-11-2010
    Location
    grinnell, iowa
    MS-Off Ver
    Excel 2007
    Posts
    79

    Re: Cell Format Maintenance via Macro

    Just record a macro from the "view" section on the righthand of the ribbon. It should look something like this:
    Please Login or Register  to view this content.
    *You seem to want to make it automatic... To my knowledge though, you have to run any and all macros manually, so it wouldn't be faster than selecting the columns and doing it yourself. I don't think you can append a code to a worksheet that runs without any prompting from you. Unless you want to use a macro to do something else at the same time (i.e. copy/paste your data), a macro can be useful. Otherwise, I'm not sure a macro will accomplish what you want it to in this case.
    Last edited by Jbm444; 06-16-2010 at 02:26 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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