+ Reply to Thread
Results 1 to 31 of 31

Macro to act differently on selected Multiple Columns

Hybrid View

  1. #1
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Macro to act differently on selected Multiple Columns

    @e4excel ,

    the file that you have posted is not very informative, please replace the data with non relevant data and make it more clear for the forum members to understand your needs.

    The green area that you are referring to has emp_no and name, so what needs to be done
    Seriously you need to make another proper file to make things more clearer.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  2. #2
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Macro to act differently on selected Multiple Columns

    Dear xlbzines...

    What I intend to do?

    I will be entering new employee nos in the sheet SP List in Column B as plain General Nos.. This is the list of certified employees whose information is fetched from 2 separate files Emp_Retail and Emp_Premier...

    IF(ISNA(VLOOKUP($B4,$A$13:$C$17,2,0)),VLOOKUP($B4,$A$20:$C$23,2,0),VLOOKUP($B4,$A$13:$C$17,2,0))
    Now after I run the formula I would be selecting the entire data from lets say...B4:S7 coloured in yellow in which I need to have the exact same formatting as the one in the above two rows...

    I know how to do it for a single column, but do now know how that can be done on Multiple Column Selection..so that the Formatting Macro makes the contents in the col B Emp Nos as text and then the remaining columns get their Formatting differently..

    Regards
    e4excel
    Attached Files Attached Files

+ 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] Macros to transpose from multiple columns to selected columns and maintaining cell format
    By rrajnish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2013, 01:45 PM
  2. Transposing data from multiple columns to selected columns
    By rrajnish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2013, 02:49 PM
  3. [SOLVED] Macro to delete columns except selected columns
    By VKR in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-07-2013, 10:01 AM
  4. Displaying multiple columns selected by a combo box
    By RollsWRangler in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-11-2012, 06:03 PM
  5. Adding sort filters to multiple selected columns
    By johnlovesbeer in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-22-2009, 05:12 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