+ Reply to Thread
Results 1 to 13 of 13

Modification required in vba code.

  1. #1
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Exclamation Modification required in vba code.

    Dear Members,

    I have below VBA code behind the sheet, which highlights the row of the selected cell with interior colour. Is any other option to highlight the row of selected cell instead of Interior colour.

    Please Login or Register  to view this content.
    Regards,
    Nandkumar S.
    ---------------------------------------------------------------
    Don't forget to Click on * if you like my solution.

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Modification required in vba code.

    First question, Why do you not want to use Interior color?
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    Dear JapanDave,

    Because I use the Background colour to cell in the sheet for record purpose.
    (VBA Code ) It removes this background colour after selecting on it which I did manually.

    eg. I have already set background colour to A1 cell. If I click on A1 and then click other cell A1's Background colour removes which I need for record purpose.

  4. #4
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    Hi members,

    How can I use below code

    Please Login or Register  to view this content.
    Instead of

    Please Login or Register  to view this content.

  5. #5
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Modification required in vba code.

    I don't quite understand what you want?

  6. #6
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    Sir,

    I have code (post #1) for

    Highlight the entire row of the selected cell temporery.
    Eg. If I click on B2 cell the 2nd row should be highlighted same manner for other cell.

    It works nice but I want little modification this code to borders to enter row(Top and Bottom)

    Hope you will understand my problem.

  7. #7
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Modification required in vba code.

    See if this is what you want.

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    Yes !!!!!! that's it,

    It should Bold line, should it possible?

  9. #9
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Modification required in vba code.

    Try this,

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    Yes!!!!! It works perfect

    Thank you JapanDave

  11. #11
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    Dear JapanDave,

    I am using the code, but now I noticed one error during the working with this sheet.

    I am unable to Copy and Paste any range

  12. #12
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Modification required in vba code.

    Yeah, that can be a pain with event macros sometimes.

    Please Login or Register  to view this content.

  13. #13
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: Modification required in vba code.

    done

    Thank you for helping me out.

+ 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