+ Reply to Thread
Results 1 to 6 of 6

current cell - select 5 to the right

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    Vail, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    83

    Question current cell - select 5 to the right

    The imported data list bolds the first item in the second column and then changes the color for the repeated items. It bolds the next change and continues...
    From there, I can bold the entire column on the report.

    Problem:
    The customer wants me to only bold the first 8 columns, not the entire row.
    Just can't figure this part out.


    Please Login or Register  to view this content.
    Last edited by RxMiller; 07-14-2010 at 05:04 PM. Reason: SOLVED - where is the solved list box?

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

    Re: current cell - select 5 to the right

    Try using resize, like this:
    Please Login or Register  to view this content.
    ***Edit:
    More specifically for your code, I think you would change the line
    Please Login or Register  to view this content.
    To

    Please Login or Register  to view this content.
    Or, if I interpreted correctly that you're operating in the second column, but need the first 8 columns bolded...

    Please Login or Register  to view this content.
    Let me know how it goes
    Last edited by Jbm444; 07-14-2010 at 01:21 PM.

  3. #3
    Registered User
    Join Date
    03-05-2009
    Location
    Vail, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    83

    Re: current cell - select 5 to the right

    Really, really close now! Thanks. The IF statement works just great!
    Please look at the 'else' statements.
    It works for the entire row, but the code for 15 columns out makes the fonts clear (or white) instead of the gray color desired.

    Please Login or Register  to view this content.

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

    Re: current cell - select 5 to the right

    I think I got it: just switch the two non-working lines.

    By my tests with it, denoting themecolor has to come before denoting tintandshade.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-05-2009
    Location
    Vail, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    83

    Re: current cell - select 5 to the right

    WOW! how suttle.
    I almost did that during my copy and paste and would have never realized that it made a difference!
    Mark this one as Solved
    Thanks heaps!
    Last edited by RxMiller; 07-14-2010 at 05:03 PM. Reason: solved

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

    Re: current cell - select 5 to the right

    You're welcome. Remember, you can mark it as solved yourself by using "edit," "Go advanced," and in the "prefix" dropdown right before the title, changing it to "solved."
    Also, make sure to use the scales to add to the "reputation" of those who help you out, in this thread or any other.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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