If I click or maybe double-click on a cell I would like the cell colour to change to lets say yellow. However, I would like all matching cells to change colour too.
So from my example above if I clicked on C13 "3 TIMER" then C13 would change to yellow as well as C14 - C17 - C18 - C19
on the worksheet there are six ranges...each range has three columns...the first is team name, the second is rep name, and the third is the metric being measured.
what i would like to happen is...
when a team name is double clicked in any one of the ranges, i would like all three cells (team name, rep name, and metric) to be boldfaced and have the cell interior change color for all instances across all six ranges that match the team name double clicked. when double clicked again, it should go back to original formatting.
likewise, when a rep name is double clicked in any one of the ranges, i would like all three cells (team name, rep name, and metric) to be boldfaced and have the cell interior change color for all instances across all six ranges that match the rep name double clicked. when double clicked again, it would go back to original format.
so for example, if i happen to click on a cell in the team column in the second range for "team a", all cells in each range (including the adjacent cells for rep and metric) would be highlighted.
As part of my work i am starting to create a two weekly programme in teh form of a gantt chart. now i have had a little google and seen plenty of spreadsheets available but they all seem to be not in a range of dates i would like. Ans plus they seem to be read only and thus i cant add a column on the end i would like for displaying resources used for the task.
Now i am sure if i searched hard enough i could find this answer but I have another question.
Whereas all the one i have seen involve typing the date and it just displays the bar.
Is there a way I can make it so that i can just click on a cell and that cell becaomes highlighted. so for example of o want at ask to happen on a wednesday i click the cell in that row and t automatically fills. and if i click it again it dissapears?
I'm using Excel 2010 and when I highlight a range and right click 'name a range' is greyed out. I can bypass this by going to the formulas tab and defining a name from there.
Anything I can check to see why this is not an option for me?
I have a sheet where i have many differently named areas (like state1_1 and state1_2) When I doubleclick on a cell then a macro should run with following criteria: 1) Macro will run if the doubleclicked cell is part of any range in the list. Here I mean that names of ranges which belong to that list start with word state (like state1_1 and state1_2). No other ranges should not be in that list. If the cell is not in the range that is part of the list, then nothing should happen.
I am using a worksheet to scan or enter students into a school event and determine their eligibility to participate in the event. Everything is working great but I need to do the following on Enter Student button click:
1) Cut scanned value (ID number) from input Cell A1 2) Paste value into next empty cell in column A (Rows build as students are inputted) 3) Copy Eligibility status (text) from column F into A6
I have a limited VBA/Macro background and have NEVER got a button to work.
My goal would be to click on a cell within a range of cells (in a column) and have the value copied to a specified destination cell. There would be a few different columns with source cells and two destination cells. Each column would to copy to a specific cell. My ojective is basically to deal with different processing times (days, weeks, months).
Here's a little visual, clicking on C4 for example would copy the value "5" to cell B2. Clicking on D4 would copy "12" to A2.
row/col A B C D E
1 Days Weeks Processing time X (weeks) Processing time Y (in days) Processing time Z (in weeks)
I have a worksheet dealing with customer order numbers in rows and various information about those orders in columns. The first 10 rows contain generic " header" type information with formulas to return certain values from the data below. Panes are frozen below row 10 so I can manually scroll down to see data. My "line numbers" (1,2,3,etc.) are listed in column "A", and begin on worksheet row 11.
The worksheet is set up so that when I enter a customer order number in cell "F2", my line number (Excel row + 10) is returned in cell "L2". I would like to use a Macro that would give the user the option (possibly with a button) to automatically scroll to the report line number returned in cell "L2".
Is there a way to set a cell so if you click it, an "X" will be in the cell and if you click it again it will clear? Specifically I am looking to do this in the "1st Trip" column on the attached. I was going to use a check box but the appear to small and it does seems as though in Excel 2003 the size can be adjusted?
Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Address = Range("b5").Address Then Sheet1.Range("j5").Value = Target.Value End If If Target.Address = Range("c5").Address Then Sheet1.Range("j5").Value = Target.Value
I have been able to record a macro which changes the value of a cell, based on a hyperlink click.
However I am not able to make it work properly for my lack of VBA knowledge.
The issue is I want to click the hyperlink in the column "B", say "B2" which is some email say (abc@gmail.com). This should result in Cell C2 changing its value to "sent".
If I do not click B2 , then value of C2 remains blank.
The macro which I recorded looks like
Code:
Sub Macrotest1() ' ' Macrotest1 Macro '
' With Range("B2") Range("B3").Select Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True Range("C2").Select
[Code]...
Sample file is uploaded in this location
Download email addr1.xlsm from Sendspace.com - send big files the easy way
This works till cell B5 since I recorded it till there.
I am not able to write a code for looping the same till the end (say B1000). I don't want to write till B1000 the same piece of code, but would like to do a loop (For, With...end with)...but really don;t know how to go about the same.
how to highlight an entire row and column automatically when the cursor activates a cell in a spreadsheet?
I have a large spreadsheet and when I click on a cell I'd like the whole row to be highlighted so I can check that I'm editing in the correct row. I know that the ROW HEADER is highlighted but I'd like the entire row to be highlighted. I'd like this to be so for every cell on my spreadsheet.
i have macro that opens up a calendar and inserts a date. i'd like it to automatically run when a particular cell is clicked. i don't want it to run for all cells, just cells in a certain column.
i have this piece of Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) If Target.Range.Address "$A$1" Then macro1 Exit Sub End Sub
I want so when i click on cell A1 it will run macro1.
So far the click on the cell works, but it works with every single cell I click on. How to I get it to just work with cell A1 instead of everyone single cell I click on?
Also, there are about 30 different cells that will run different macros, how would I go about creating adding the code the one above without having to create separate sub worksheets?
I have a spreadsheet with many worksheets in it. Sheet ' Names' has personal data for a person. Sheet 'Credits' has more information about that person's work.
When a cell in sheet 'Names' is clicked, the user is forwarded to cell containing the same name on sheet 'Credits'. I know how to do that with hyperlinks, but its not going to work becuase the list of names is updated.
1. How do I make the Sheet 'Names' react to clicking of the cell? Do I use procedure 'Worksheet_SelectionChange()'?
2. How do I switch sheets to highlight the cell on sheet 'Credits'?
3. How do I compare values in cells that are on 2 different sheets?
The code to highlight the cell is this, i think:
For x = 3 To <some number> If Cells(x, 1).Value = <value of cell In sheet 'Names'> Then Columns(x).EntireColumn.Activate x=x+1000000 End If Next x
I know this may seem trivial, but I am very new to VBA.
I want to jump from one cell position (on picture, marked with numbers from 1 - 6) But i want to jump to them respectly(first to 2, then on 3....) I have used these numbers just to describe space between cells(in rows and columns), and actually those are blank cells! Starting blank cell can be everywhere(e.g. A2), it doesnt matter, it is only important how to jump from one cell to another in mentioned manner!!!!!!!
I am on the row 100 in column G. I had a freeze the first row where i have hypertext and other function. I want add here (in the 1. row) something like hypertext, but i want to stay in the row where i was.
When i am on row 100 in column G and i want to create function which move my cursor to column W but in the same row (row 100 in this case).
Next time i will be in row 154 and i will want to move my cursor again in column W and use this same hypertext/function or what.
This is a conditional formatting problem I have not been able to resolve:
I have a range, say A1:N30
Each cell contains a text/number combination.
I would like to highlight each cell on a specific row if the vale exists within the row above - the issue is that the cell values are not in the same columns.
I have attached a sample workbook with the desired output.
I have a spreadsheet where if Cell A2 says "Deposit", Rows A2-E2 would be formatted with a Blue background.
I've tried conditional formatting, but I can't built it into a Macro (I can't make it run), and it only highlights the cell that has that value. I also tried having the spreadsheet filter down to only the values I want highlighted, then highlighting all cells and un-filtering the column- this didn't work either.
It would basically say :
If (any cell in Row A) has text = "Deposit" (it needs to be exact, it can't be "containing"), set cell with the word "Deposit" and 4 cells to the right as Blue (I'm not picky about the color).
If I wanted to highlight a cell if any cell in the range to the right was greater than zero, what formula would i use. I have tried =IF(L1:AD1>0,1) with the result returning for only the cells in column L. Row 3 has no value in column L but a value in column N with no result to highlight the cell.
I am creating a resource and I'd like the users of this resource to be able to click a cell which will then automatically come up with an x or similar symbol (tick?) and then if they click the cell again the x will disappear. Is this possible? I don't want a drop down box where they have to choose what they want, I want it to be an automatic action when the cell is clicked because there will be many cells that I will need to do this.
I understand how to click and drag a cell or row of data but is it possible to click and drag a group of rows of data? I have 12 rows of data that will repeat itself every 12 weeks. I can "save & paste" easily enough, but just curious if there is a way to click and drag 12 rows of data so that they remain the same for every group of 12 weeks.