Link To Cell Instead Of Getting Cell Data
Aug 5, 2008
I want to create a summary page with the tab name and a link to the contents in a specific cell. In the code below, I can get the sheet I want but in the second column, I would like to link to the data instead of getting the data in the cell. Can I do this with a simple modification to this
Dim a As Long
Sheets.Add.Name = "Notes"
For a = 1 To Sheets.Count
Worksheets("Notes").Cells(a, 1) = Worksheets(a).Name
'The next line gets me data, but I want to link to this cell in all worksheets
Worksheets("Notes").Cells(a, 2) = Worksheets(a).Cells(15, 18)
Next a
View 9 Replies
ADVERTISEMENT
Jul 25, 2008
Sample data:
Machine Part Number machine 1 123 machine 2 123 machine 3 123 machine 1 123 machine 2 456 machine 1 456 machine 3 456
i need to based on tis sample data come out with sth like tt:
Used In: 123 Machine 1, Machine 2, Machine 3 456 Machine 2, Machine 1, Machine 3
I need to group those machines under 1 part number. For instance, part 123 is used in which machines, I need to state them in a way like above. But repeated should not be stated again.
View 9 Replies
View Related
Aug 1, 2009
Iit is possible to do somethiling like this? I wanna load some data from web but I need link read from cell (e.g. sheet data!B1) .. so it means :
View 3 Replies
View Related
Mar 7, 2014
I have a spreadsheet that I have various formulas and sheets. To simplify:
Sheet 1: Columns A & B have Name and Code Number. I can add additional names and code numbers to these two columns whenever necessary.
Example:
Tom 874
John 385
David 712
Hidden in adjoining columns are formulas to automatically sort them via Code Number. Next to that are the columns showing the sorted information, sorted by number.
John 385
David 712
Tom 874
Additionally, I have a seperate sheet for Tom, John & David. Since I put Tom in first, he's Sheet 2. John is Sheet 3, and David is Sheet 4. I can use hyperlinks so when I click on John, it goes to Sheet 3; David Sheet 4; Tom Sheet 2.
Now, let's say I add Kevin 192 to the next row. The hidden columns are set up so that it'll automatically resort Kevin to the top, with John, David & Tom in the next rows down.
The issue I have with the hyperlink is that it's cell specific, not content specific, as far as I know. I would like the hyperlink to move with John's info so that it would still go to Sheet 3. Same with David and Tom. Unfortunately, after the resort, If I clicked on Kevin's name (which is now at the top of the list), it would go to John's sheet, since the hyperlink is attached to that cell.
How to allow a hyperlink to remain with the content, versus the cell? I would prefer it to be not a macro, but I'll take a macro over nothing!
View 6 Replies
View Related
Oct 24, 2006
If I have a two files called test1.xls and test2.xls for example. Is it possible to link test1.xls to test2.xls by putting the filename in a cell?
i.e. In test2 put the filename in say A1 and in the link put the path and instead of naming the file you want to link to put in A1 instead.
I know it doesn't work if you do it that way I was just wondering if there was a way to do it.
View 5 Replies
View Related
Jun 28, 2013
I have two worksheets, one with detail monthly information and one with YTD information. So let's say the three numbers I want to capture in the YTD sheet are in columns B, G and I on the monthly sheet. January's data might be in B5, G5 and I5. February's data is in B12, G12 and I12 and so on.
On the YTD sheet in cell C2 I link to Monthly!B5 and in C3 I link to Monthly!B12 so cells C2 to C13 on the YTD sheet show the monthly totals from column B on the detail sheet. On the YTD sheet, cells C20 to C31 show the monthly totals from column G on the monthly sheet, so cells G5, G12, etc. And finally, cells C40 to C51 on the YTD sheet show monthly totals form column I on the monthly sheet.
In the past I've always created all these links manually. After creating the links in C2 to C13 on the YTD sheet, is there a way to use a formula in C21 that uses the link in C2 to create a link for G5?
View 6 Replies
View Related
Oct 17, 2006
I'm trying to make a floor plan which shows what seats are available depending on the time it is. So I made sheet1 = to the map (where the seats are located), sheet2 - rows = seat #'s, columns = Time (broken down by half hours). Now i have conditional format to show "t" in red (which means taken), "f" in blue (which means free), and "n" to show in gray (which means not working).
What i need is example - Seat # 200 in sheet 1 to show red, blue, or gray depending on the value in the row that corespond to this seat and the column that corespond to the current time.
View 9 Replies
View Related
Aug 17, 2009
Is it possible to have a macro create a hyper link once data is entered into specific cell, i have a multi sheet work book used as a stock card system.
Each stock item has its own worksheet and the product code is entered in to cell E3
(which in turn has a macro in it to change the sheet name to match the product code).
the macro also inserts a row of info into row 5 of another sheet used as a summary sheet ( CONTROL.SHEET or SHEET 4) using copy and paste link.
i need a macro to generate a hyperlink in cell D4 of the control sheet between the row info and the matching product code sheet ( the product code is displayed in cell E4 of the control sheet.
I only input one item at a time and then manually cut and insert the row info into the stock list on control sheet. so every time i input a new item, the row info is always in row 5 of the control sheet.
View 9 Replies
View Related
Aug 12, 2014
I have a column who's content is determined via about 6 nested if statements from data on that row. That cell is then conditionally formatted to a certain color based on the text that is ultimately printed from the nested ifs (simply an extra visual legend for the text). All of this contributing info and about 1000 lines items make a very large and difficult to print page. What I am trying to do is a make a summary sheet that simply takes the index number of these 1000 rows and copies or links the conditional formatting of the mentioned cell onto this number on another sheet. I have already linked this status cell and put it adjacent to the index number which works well in that with two columns I can show the index and status but if I could combine the color of the status cell onto the index cell, it would be even better. I am pretty sure another conditional format for this summary sheet would not be possible or be extremely complex since the contents of the index cell I am conditionally formatting have no bearing on the conditions for the format. Was hoping there is some VBA magic that could simply mimic the conditional formatting from one cell and put it on another.
View 1 Replies
View Related
Jun 3, 2008
I have a macro that inputs a sheet and cell from the user. when the macro tries to make a formula it outputs =data!'AE3'. I need it to output =data!AE3
Dim Sheet As String
Sheet = InputBox("Take Data from where?")
Dim startcell As String
startcell = InputBox("Start Cell?")
ActiveCell.FormulaR1C1 = "=" & Sheet & "!" & startcell & ""
View 3 Replies
View Related
Jan 13, 2010
Is it possible to link a cell e.g. A10 that has a time value in it (there is a formula in this cell that puts in the time value) to another cell in a range of cells e.g. B1:B1000 that has the same time value?
I know someone out there knows how to do this.
View 9 Replies
View Related
Sep 16, 2009
For example, Cell A1 = July 2009 Cell B1 = July 2009 MTD. how to change 'July 2009' in cell B1 automatically in respond to the changes in cell A1.
View 5 Replies
View Related
Apr 19, 2013
I am working on a file with multiple tabs. I have an output sheet which brings values from different tabs on to the output.
I am bringing the values using a simple VLOOKUP.
What I would like is to bring to the output sheet not only the value from the inner sheets, but also the cell color.
The cells are not colored using any logic or using conditional formatting, otherwise i would use the same logic or put the same conditional formatting for the output. The cells are colored by the users arbitrarily.
For Example, please refer the sample file. In this file, when I select Company A, the values are from the tab Company A, but the cell colors should also be the same as in COmpany A. When i select Company B, along with values, the cell colors should also change as per what is on the tab company B. Is this possible?
View 2 Replies
View Related
Sep 24, 2007
I'm hoping to hover my mouse over a cell to display text as popup. This text is linked to a cell and is dynamic.
I'm only wanting this feature to display info (in the popup) not link to a website
Currently I've dodged my way around the issue by using a hyperlink for the sole purpose of taking advantage of its hover popup feature.
The problem is that a hyperlink popup is limited to 255 characters so i can't display much text.
Is there is any VBA code or add-in's that take advantage of the mouse cursor position to display a text popup?
Kind of like the Comment feature but for dynamic use.
View 3 Replies
View Related
Nov 17, 2008
I would like to have a link in a merged set of cells that puts the insertion point to another cell. Scenario: In cell k30, the user puts in the amount of credit card debt a individual has, and scripts the user based on that information. Later on, they get a more accurate running total of the amount of debt and need to change the amount in k30 for an accurate quote. After ther running total, in cell j172(a merged box for instructions) i instruct the user to be sure to enter the new total in cell K30.
Questions:
1. Is there a way to put a button or a link that would put the insertion point back up to K30 automatically, but allow the user to change it themselves and not change it automatically?
View 2 Replies
View Related
Aug 27, 2009
I would like to ask if there's a way that i can create a link in a cell to another cell. Sample: in cell A1: there's a word "click to go to cell A150" in this case i dont have to use scroll down to go to cell A150.
View 2 Replies
View Related
Apr 29, 2014
I have a column on a spreadsheet containing the last four (XXXX) or in some cases six (XX-XXXX) if there are duplicates of the last four SSN. I manually enter these as needed. I also create a folder that will be named the last four or six in the same format that is in the excel spreadsheet. Is there a simple way to automate the linking of these cells to the external folders?
View 3 Replies
View Related
Mar 12, 2014
I have a macro that copies a sheet and renames it:
Copies "Q114" and renames it to "Q214".
Q114 is defined as OLD in my VBA code
Q214 is defined as NEW in my VBA code.
I also have a third sheet, call it "results", which picks up cell values, ie cell A1 in "Q114", but now I want it to use cell A1 "Q214". The values hasn't been filled in, so I need a link between them:
[Code] ......
View 2 Replies
View Related
Nov 3, 2006
if it is possible to link the name of a tab to a cell in its corresponding worksheet.
View 9 Replies
View Related
Mar 9, 2009
I have is a summary worksheet with two columns. One column is for Project ID number and the other is an address link to a specific cell in the worksheet corresponding to the Project ID. Perhaps the best way to explain this is by giving an example:
Project ID (Column 1)
00-111
Balance (Column 2)
='C:Financial Sheets[00-111.xlsx]Phase_21'!$H$1
As you can see the spreadsheets are named after the Project ID number. What I would like to do, if possible, is instead of typing in the name of the spreadsheet for each project in column 2 (Balance), I could somehow reference the cell value in column 1 (Project ID). Something like this:
Project ID (Column 1)
00-111
Balance (Column 2)
='C:Financial Sheets["A2".xlsx]Phase_21'!$H$1..........
View 3 Replies
View Related
Jan 25, 2010
Can you link a cell to a sheet tab. If yes how?
View 4 Replies
View Related
Oct 6, 2011
When I use the following link it works perfect
='W:APMProdqtyElectronic Shift Book8882Line 1[wk 40.xls] Flipchart'!$B$36
But when i replace Drive W to the full server location
='iemafs001APMProdqtyElectronic Shift Book8882Line 1[wk 40.xls] Flipchart'!$B$36
I get #REF!
View 1 Replies
View Related
Dec 4, 2012
Is it possible to link a sheetname?
I have a list of employees on sheet1 and each employee has there own sheet with their name as the sheet name. Each sheet contains a form that the employees need to fill in.
I have created several extra sheets for new employees and I would like these sheet names to be linked to a cell on sheet1. This way the only updating I need to do when receiving new employees is enter there name to the list in sheet1.
View 7 Replies
View Related
Jan 28, 2014
In Excel it's possible to create a link dependent of a cell.
Example
='C:UsersAMDesktop[" & C9 & "]Sheet1'!$B$3
where C9=Andrew.xls
View 7 Replies
View Related
Feb 20, 2014
I am trying to convert a formula that refers to another workbook as text.
E.g. in cell A1 the formula is "= '[Management Pack for January 2014.xlsx]Monthly Income Statement'!$G$23"
How do I in cell A2 show the reference "'[Management Pack for January 2014.xlsx]Monthly Income Statement'!$G$23" as Text?
The above formula changes the whole time.
View 2 Replies
View Related
Apr 10, 2009
In Excel, I have a sheet for each team that I manage. Each sheet lists the team members and displays their picture below their names. Some people are on multiple teams/sheets.
I have a master list with everybody's name and picture that I copy and paste the pictures from when putting a team together. This has become a very tedious process.
Is there a way I can type the person's name on a team sheet and have their picture automatically appear below their name? I don't know if this can be done with some kind of lookup or if it will involve VB. I tried making the picture the background of an Autoshape or comment, but I could not figure out how to dynamically change the picture based on the name in a cell.
View 9 Replies
View Related
Aug 17, 2009
Is there a way of embedding a formula in a worksheet so that the tab name of each worksheet is linked to a value in a cell on that sheet? (I don't want to run a macro)
In other words if the cell name is changed, the page name changes automatically.
View 9 Replies
View Related
Jun 8, 2006
I have a file contain some links with the other file. I want to remove these links but I don't know which cell contain the links. Is there anyway that can let me know which cell contains links so i needn't search one by one?
View 4 Replies
View Related
Dec 1, 2006
Is there a way for your linked data to cary over formatting such as Bolds, borders, fonts and colors?
View 3 Replies
View Related
Sep 12, 2007
I am trying to build a stock watchlist in excel 2007 with a dynamic link to a DDE server (paid for).There is no add-in or plug-in, I just CTL ALT & drag each code from a watchlist in the program I am using and place it in a cell, however can only choose one data field at a time. There are 14 data fields and over 150 codes in my list which makes 2100 cells. (My guess is about 3 days work)
I would like to just enter the stock code in say column A (A3) and with each DDE data field (e.g. lastprice, open, cose, high etc) entered in subsequent columns have it lookup the stock code in cell A3 and return the correct value based on the code in column A, rather than entering each cell individually.
Is it possible to write a macro or vba code to create the cell formula so I can just fill down and save myself 3 days work?
The DDE server I am using is formatted like this:
PROGRAMNAMElDATAFIELD!STOCKCODE
example
MISDATAlLASTPRICE!BHP.ASX
I thought I might be able to do something like the following, but it doesn't seem to work.
MISDATAlLASTPRICE!$A3
Note: The DDE server can only be accessed while the other program is running and is password protected
View 7 Replies
View Related