If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Active cell highlight
Thank you, this is very helpful
E "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson |
#12
|
|||
|
|||
Active cell highlight
Thanks all for helping me on this subject.
Have a nice day E "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson |
#13
|
|||
|
|||
Active cell highlight
Hi,
This was really useful for somethign I am working on - but is it possible to return the cell to it's orginal colour once it is no longer the active cell (and therefore not highlighted). At the moment it returns the cell to white. Thanks |
#14
|
|||
|
|||
Active cell highlight
Hi Dave
I have the following copied into the VB and safe it as .xla. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static LastChange Application.ScreenUpdating = False If LastChange = Empty Then LastChange = ActiveCell.Address End If Range(LastChange).EntireColumn.Interior.ColorIndex = xlNone Range(LastChange).EntireRow.Interior.ColorIndex = xlNone ActiveCell.EntireColumn.Interior.ColorIndex = 15 ActiveCell.EntireRow.Interior.ColorIndex = 15 LastChange = ActiveCell.Address Application.ScreenUpdating = True End Sub It looks perfect on the existing Excel. I close all the Excel, and open a new Excel spreadsheet. Then, I loss this function. I check in VB, it is there. I check in Add-Ins, it is already checked/ticked, and what I can do to make it activated for all Excel I open? Thanks. stanley "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson |
#15
|
|||
|
|||
Active cell highlight
That event (worksheet_selectionchange) is only going to work for the workbook
that owns the code. And since you've saved it as an addin, that workbook will never be active. You'll want to convert your procedure into a application event. See Chip Pearson's notes: http://www.cpearson.com/excel/AppEvent.htm Stanley wrote: Hi Dave I have the following copied into the VB and safe it as .xla. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static LastChange Application.ScreenUpdating = False If LastChange = Empty Then LastChange = ActiveCell.Address End If Range(LastChange).EntireColumn.Interior.ColorIndex = xlNone Range(LastChange).EntireRow.Interior.ColorIndex = xlNone ActiveCell.EntireColumn.Interior.ColorIndex = 15 ActiveCell.EntireRow.Interior.ColorIndex = 15 LastChange = ActiveCell.Address Application.ScreenUpdating = True End Sub It looks perfect on the existing Excel. I close all the Excel, and open a new Excel spreadsheet. Then, I loss this function. I check in VB, it is there. I check in Add-Ins, it is already checked/ticked, and what I can do to make it activated for all Excel I open? Thanks. stanley "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson -- Dave Peterson |
#16
|
|||
|
|||
Active cell highlight
Hi Dave,
I don't get it. How to make it a step by step guide to do it. Thanks. stanley "Dave Peterson" wrote: That event (worksheet_selectionchange) is only going to work for the workbook that owns the code. And since you've saved it as an addin, that workbook will never be active. You'll want to convert your procedure into a application event. See Chip Pearson's notes: http://www.cpearson.com/excel/AppEvent.htm Stanley wrote: Hi Dave I have the following copied into the VB and safe it as .xla. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static LastChange Application.ScreenUpdating = False If LastChange = Empty Then LastChange = ActiveCell.Address End If Range(LastChange).EntireColumn.Interior.ColorIndex = xlNone Range(LastChange).EntireRow.Interior.ColorIndex = xlNone ActiveCell.EntireColumn.Interior.ColorIndex = 15 ActiveCell.EntireRow.Interior.ColorIndex = 15 LastChange = ActiveCell.Address Application.ScreenUpdating = True End Sub It looks perfect on the existing Excel. I close all the Excel, and open a new Excel spreadsheet. Then, I loss this function. I check in VB, it is there. I check in Add-Ins, it is already checked/ticked, and what I can do to make it activated for all Excel I open? Thanks. stanley "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson -- Dave Peterson |
#17
|
|||
|
|||
Active cell highlight
There are events that are limited to a worksheet.
There are events that are limited to a workbook. There are events that are limited to the application. You want something that is application wide--can be used on any worksheet in any application. I don't think I could do better than what Chip wrote. But if you find this too intimidating, I think I'd just use Chip's rowliner addin. You only have to install that and use it. Stanley wrote: Hi Dave, I don't get it. How to make it a step by step guide to do it. Thanks. stanley "Dave Peterson" wrote: That event (worksheet_selectionchange) is only going to work for the workbook that owns the code. And since you've saved it as an addin, that workbook will never be active. You'll want to convert your procedure into a application event. See Chip Pearson's notes: http://www.cpearson.com/excel/AppEvent.htm Stanley wrote: Hi Dave I have the following copied into the VB and safe it as .xla. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static LastChange Application.ScreenUpdating = False If LastChange = Empty Then LastChange = ActiveCell.Address End If Range(LastChange).EntireColumn.Interior.ColorIndex = xlNone Range(LastChange).EntireRow.Interior.ColorIndex = xlNone ActiveCell.EntireColumn.Interior.ColorIndex = 15 ActiveCell.EntireRow.Interior.ColorIndex = 15 LastChange = ActiveCell.Address Application.ScreenUpdating = True End Sub It looks perfect on the existing Excel. I close all the Excel, and open a new Excel spreadsheet. Then, I loss this function. I check in VB, it is there. I check in Add-Ins, it is already checked/ticked, and what I can do to make it activated for all Excel I open? Thanks. stanley "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson -- Dave Peterson -- Dave Peterson |
#18
|
|||
|
|||
Active cell highlight
Hi Dave, Thanks. I understood now. And, actually, I just need to copy and paste into whichever worksheet I need. The colour highlighting is really a good one. Thanks. stanley "Dave Peterson" wrote: There are events that are limited to a worksheet. There are events that are limited to a workbook. There are events that are limited to the application. You want something that is application wide--can be used on any worksheet in any application. I don't think I could do better than what Chip wrote. But if you find this too intimidating, I think I'd just use Chip's rowliner addin. You only have to install that and use it. Stanley wrote: Hi Dave, I don't get it. How to make it a step by step guide to do it. Thanks. stanley "Dave Peterson" wrote: That event (worksheet_selectionchange) is only going to work for the workbook that owns the code. And since you've saved it as an addin, that workbook will never be active. You'll want to convert your procedure into a application event. See Chip Pearson's notes: http://www.cpearson.com/excel/AppEvent.htm Stanley wrote: Hi Dave I have the following copied into the VB and safe it as .xla. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static LastChange Application.ScreenUpdating = False If LastChange = Empty Then LastChange = ActiveCell.Address End If Range(LastChange).EntireColumn.Interior.ColorIndex = xlNone Range(LastChange).EntireRow.Interior.ColorIndex = xlNone ActiveCell.EntireColumn.Interior.ColorIndex = 15 ActiveCell.EntireRow.Interior.ColorIndex = 15 LastChange = ActiveCell.Address Application.ScreenUpdating = True End Sub It looks perfect on the existing Excel. I close all the Excel, and open a new Excel spreadsheet. Then, I loss this function. I check in VB, it is there. I check in Add-Ins, it is already checked/ticked, and what I can do to make it activated for all Excel I open? Thanks. stanley "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson -- Dave Peterson -- Dave Peterson |
#19
|
|||
|
|||
Active cell highlight
It would scare me to use this kind of routine for every worksheet in every
workbook. It could destroy any existing format that I have. I think using it only the worksheets you want is a much better idea. Stanley wrote: Hi Dave, Thanks. I understood now. And, actually, I just need to copy and paste into whichever worksheet I need. The colour highlighting is really a good one. Thanks. stanley "Dave Peterson" wrote: There are events that are limited to a worksheet. There are events that are limited to a workbook. There are events that are limited to the application. You want something that is application wide--can be used on any worksheet in any application. I don't think I could do better than what Chip wrote. But if you find this too intimidating, I think I'd just use Chip's rowliner addin. You only have to install that and use it. Stanley wrote: Hi Dave, I don't get it. How to make it a step by step guide to do it. Thanks. stanley "Dave Peterson" wrote: That event (worksheet_selectionchange) is only going to work for the workbook that owns the code. And since you've saved it as an addin, that workbook will never be active. You'll want to convert your procedure into a application event. See Chip Pearson's notes: http://www.cpearson.com/excel/AppEvent.htm Stanley wrote: Hi Dave I have the following copied into the VB and safe it as .xla. Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static LastChange Application.ScreenUpdating = False If LastChange = Empty Then LastChange = ActiveCell.Address End If Range(LastChange).EntireColumn.Interior.ColorIndex = xlNone Range(LastChange).EntireRow.Interior.ColorIndex = xlNone ActiveCell.EntireColumn.Interior.ColorIndex = 15 ActiveCell.EntireRow.Interior.ColorIndex = 15 LastChange = ActiveCell.Address Application.ScreenUpdating = True End Sub It looks perfect on the existing Excel. I close all the Excel, and open a new Excel spreadsheet. Then, I loss this function. I check in VB, it is there. I check in Add-Ins, it is already checked/ticked, and what I can do to make it activated for all Excel I open? Thanks. stanley "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm E wrote: Hi, I would like to know if there was a way to have an active cell always in yellow or any color. Example: If the active cell is moved around, the active cell will be always in yellow. Thank you in advance -- Dave Peterson -- Dave Peterson -- Dave Peterson -- Dave Peterson |
#20
|
|||
|
|||
Active cell highlight
I just downloaded this add-in and set it up in less than two minutes. It
works amazingling well (I'm using Excel 2003) and I already find it helpful. "Dave Peterson" wrote: maybe.... you may want to try Chip Pearson's Rowliner: http://www.cpearson.com/excel/RowLiner.htm |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
getting active cell value in another cell | amrezzat | Worksheet Functions | 1 | November 18th, 2005 12:04 AM |
Copy cell format to cell on another worksht and update automatical | kevinm | Worksheet Functions | 21 | May 19th, 2005 11:07 AM |
GET.CELL | Biff | Worksheet Functions | 2 | November 24th, 2004 07:16 PM |
Do you have what it takes... | darno | Worksheet Functions | 0 | February 22nd, 2004 08:01 PM |
Convert a Cell Reference to Text | Chuck Buker | Worksheet Functions | 6 | September 22nd, 2003 05:04 PM |