Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Excel


Advertisements:










Link Tab Name To A Cell Without Using A Macro


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 Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Possible To Link The Name Of A Tab To A Cell In Its Corresponding Worksheet
if it is possible to link the name of a tab to a cell in its corresponding worksheet.

View Replies!   View Related
Link Cell To Sheet Tab
Can you link a cell to a sheet tab. If yes how?

View Replies!   View Related
Add To A Current Macro Which Currently Copies The Master Tab And Creates A New Tab With Tomorrow's Date On It
I need to add to a current macro which currently copies the master tab and creates a new tab with tomorrow's date on it. For reference here is the current macro:

View Replies!   View Related
Macro To Link Cell To Sheet & Cell Stated By User
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 Replies!   View Related
Macro Create A Hyper Link Once Data Is Entered Into Specific Cell
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 Replies!   View Related
Link Chart Column Color To Tab Color
I want to be able to link the colors of 8 differnet TABS of individual worksheets that have each been colored differently to the colors of individual columns of a chart - being a summary chart of information in another worksheet that has come from seperate worksheets within the same workbook. So that if someone was to change the color of any tab then the color of the corrosponding color of a column in the chart would change automatically if the color of a TAB is changed.

View Replies!   View Related
Can A Macro Contain A Link To A Website
I have two different worksheet that if data is changed then the user needs to go to the company's website to update information there as well.

Can a macro look at a range of cells and if a change is made then a message box would pop up and if the user said yes then they would be directed to the company's website.



View Replies!   View Related
Can I Link 3 Buttons To 1 Macro
Is it possible to link 3 buttons to one macro.

What I'm trying to do is have 3 buttons:

Load Button:
-Which makes a copy of the current sheet, renames it, and freezes its values

Print Button:
prints all the sheets

Clear button:
deletes all of the named sheets

I'm sure this can be done with an if then else statement, but I'm just not sure how to set it up to capture input.

View Replies!   View Related
Rename A Tab Using A Macro
Is it possible to have a macro to prompt the user for a tab name, check if it exists and if so copy it and ask the user for the new name for it to be rename to?

View Replies!   View Related
Macro Not Work On Another Tab
To run a macro from the first tab of the workbook but have it do it work on another tab.

In the workbook in question I have a tab called "input" were certain information in updated and is linked or used in formulas on other tabs. Some of the tabs have macros that do various functions. I would like to set up one macro button on the "input" tab that would run the macros on the other tabs instead of having to run each one individually from its own tab.

Below is on of the macros that I would like to run from the "input" tab and have it update the "AP Accrual" tab

Sub CopyPriorMonthAccruals()
ActiveCell.FormulaR1C1 = "=EOMONTH(Input!R[5]C,-1)"
Columns("L:L").Select
Selection.Copy
Columns("Y:Y").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Range("B3").Select
ActiveCell.FormulaR1C1 = "=EOMONTH(Input!R[5]C,0)"................................

View Replies!   View Related
Create A Tab Using Macro
is it possible if we select a particular cell and on click on a button a tab will be created automatically with the name of the selected cell and that particular cell get a linked on click of which it will take to the tab that is created.

Example:
A1 has a value jack if i select A1 and i click on a macro button it should create a tab beside my current tab by name 'Jack' and cell A1 should be hyperlink on click of which it wil take me the the 'Jack Tab'.

View Replies!   View Related
SumProduct Formula (flow Data From The Download Tab To The Disb08 Tab Based On The Date)
I need to flow data from the Download tab to the Disb08 tab based on the date, that column F of the Download tab = "Outgoing Money Transfer" and that the 4 digit number in row 2 of the Disb08 tab is matched against Column G in the Download tab. When all those match, then the value from column J of the download tab would flow over.

View Replies!   View Related
VBA -Determine Last Row Of Source Data Tab For Use In Executing Formulas In Template Tab
I am currently building a workbook with 2 tabs.

The first is a data dump tab. The number of rows used in this tab will change each time it is used.

The second tab currently has a header row and in cells A2-H2 are formulas based on data in the first tab.

I am creating a macro to autofill those formulas, but I don't know how to determine what is the last row of data in the 1st tab and use that as reference in my macro.

View Replies!   View Related
Using Data From DDE Link In A Macro
I wonder if it is possible to bring data from DDE-links to variables in a macro without first bringing it to cells in Excel. The reason why I want to do this is because I only need the data when the macro is run (that is when a certain button is pushed). It would be a waste of system resources to continously link the data to cells in Excel. I asked the same question a few days ago at another forum but didn't get any reply.

View Replies!   View Related
Link By Formula Two Cells Within Macro
I have one list in one sheet that is source for the userform and combobox used on another sheet. With userform I make a choice and data is entered in one cell.
But is it possible to compare the choice that I make in combobox with the list on the first sheet and then make a simple link between these two cells, so that cell in the second sheet is always showing what is in the cell on the first sheet.
Reason for this is that items on the list on the first sheet sometimes change and I need to update the second sheet automatically.

Private Sub cmdOK_Click()

With Sheets("Presentation").Range("V18:V32")
Set c = . Find(cbochange.Value, LookIn:=xlValues)
If Not c Is Nothing Then
firstAddress = c.Address
Do
ActiveCell.Offset(0, 2).Formula = firstAddress
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
Unload Me
End Sub

View Replies!   View Related
Put Geometric Averages Of Each Column From Each Tab In A Summary Tab
I have multiple sheets each containing multiple columns of numbers, and sometimes when the numbers are not present there is a text error string such as "#N/A N.A.", or "#N/A N Ap". An example of the data is as follows:

4.06
1.28
3.411
#N/A N.A.
2.627
1.157
4.9
4.9
2.963

I would like to put geometric averages of each column from each tab in a summary tab.

* I tried using =GEOMEAN(...), but it can not handle the quantity of data that I have nor can it take non-numeric fields.

* Also Tried something like this =EXP(AVERAGE(IF(ISNUMBER(C:C),LN(C:C)))) as an array, but unless cells are specified explicitly, ie c10:c300, I get an answer of 1. I can not specify the cells because I have a variable height of each column.

View Replies!   View Related
Copy/Paste From Tab Macro
I tried writing a macro to copy data from one tab and paste it on another. It gave me an error message every time.

So I tried recording one doing just that, and when I went to play it, it still gave me an error.

So here is what I came up with:

View Replies!   View Related
Macro To Pull Information From One Tab To Another
I am trying to put together a macro to pull data from one tab to another. The key here is that I want it to take the entire row.

Basically it will look something like this:

As someone goes down the rows of the checklist putting x's in the boxes that need one (there is a column set aside for that), that box will turn red.

That part is easy and done.

What I cant figure out how to do next is to automatically have a copy made of the row with the red cell and send them to another document.

View Replies!   View Related
Macro To Change Tab Color
I keep recording this macro, but the problem I run into is that the active sheet is always the specific name of the sheet. I need a general name so that the macro will work on any given sheet. On the sheet I am viewing, I simply want to change the tab color to black using a macro.

View Replies!   View Related
Macro To Rename Tab With Range
From my research on trying to apply this function, I have peiced together several codes and am unable to get my end result. I want to add a worksheet and rename it with text formula on my main "Macro" sheet from cell D1. The name in cell D1 is a date that changes based on a formula. I can get the macro to add the worksheet but then it stops at renaming it:

Sub NewTab()
'
' NewTab Macro
' Macro recorded 9/10/2009 by andrea_1
'

'
Dim wsNew As Worksheet

Set wsNew = ThisWorkbook.Worksheets.Add
ActiveSheet.Select
ActiveSheet.Name = Worksheets(Macro).Range("D1").Value

End Sub

View Replies!   View Related
VLOOKUP & IF With Dates (tab To Get Information From The Other Tab)
I have 2 Tabs.
1) Furnaces --> INPUT
2) Report --> OUTPUT

1) I have this speadsheet and every day i entry new information:
Date Furnace# Burner
6/1/2009F-11
6/1/2009F-513
6/1/2009F-512
6/2/2009F-16
6/3/2009F-15
6/4/2009F-14
6/4/2009F-514
6/5/2009F-511
6/6/2009F-12
6/7/2009F-11

2) I want in this tab to get information from the other tab (Furnaces) in order to have an every day control.

Furnace #Burner 6/1/2009 6/2/2009 6/3/2009 6/4/2009.. etc
F-1 1
2
3
4.............................

View Replies!   View Related
Macro To Link Check Boxes To Cells
I have a spreadsheet setup which includes a number of checkboxes set up using the forms toolbar.

I would like to link each of these checkboxes (in sheet1) to a cell reference in sheet2. I'm trying to write a macro that will do this for me to save me right clicking, choosing format control etc for each checkbox.

I found the code on this page: http://www.mrexcel.com/archive2/51300/59643.htm
which appears to be similar to what I am trying to achieve. In this case it creates the checkboxes in cells B3:B20 and links them to C3:C20.

I have already created all the checkboxes, and wish to use a macro to link them (for example) to C3:C20 in sheet2.


View Replies!   View Related
Save As Macro :: Tab Delimited Files
I use a macro that saves my activesheets in text(tab delimited).

I am trying to find how to save my worksheets as tab delimited files without having to open the notepad later, in order to press the backspace button. Just to clarify more, if a sheet has 15 rows of data, the tab delimited file will be created with 16. Is there a way to save the actual number of rows in the text file or this is a default operation in excel that cannot be changed in any way?

View Replies!   View Related
Trigger Macro With Worksheet Tab Selection
I have a macro I'd like to run when a worksheet tab is selected. The macro updates content in various cells.

That action is now triggered with a command button (linked to macro), but I'd like it to take place when the user selects that worksheet tab.


View Replies!   View Related
Making A Macro Run From A Button In Different Tab.
I have an excel spreadsheet with two tabs.One called "menu" and one called "website"
I want to put a button in tab one (menu) and assign a macro. I need the macro to run/output in sheet 2 (website) not in sheet 1 where the button is placed.

No matter what I do I can't figure it out. The macro always runs in the same sheet as the button.

View Replies!   View Related
Macro To Sort Current Tab Worksheet
I basically need a macro to sort the sheet by V, U, T starting from row 3 and ending before the last vechicle. This is the problem though, the last vehicle ends everytime right before Car # in column A. So in other words in this example i would need it sorted by v u t, starting from 3 down to row 12. It ends at 12 because the next line includes car and a number.

Another sheet might have a longer list of vehicles and might end at row 100 before the next line has car number .

It always starts at 3, but the ending is dynamic where it should stop its selection before "car number ".

I would also like it to work on the current sheet im on, because i have up to 100 sheets like this and would not want it name dependant. Just want to click on a tab, and run a macro and have it sort from 3 down to the line before car in column A.............

View Replies!   View Related
Link Cells To Chosen Workbook Macro Code
I am trying to write a code in VBA to collect data from several weekly workbooks, and list them up in a monthly workbook.

These weekly workbooks change names depending on the week, for example, we have:

Report week 1.xls
Report week 2.xls
Report week 3.xls
Report week 4.xls

Each report has the same layout, so the data I want will be in the same cells. However, as the report names change as the weeks in the year go on, I can't write the code for weeks 1-4 as they will not work with week 5 onwards!

I have found out how to chose a file of my choice using:


Sub GetImportFileName()
Dim FInfo As String
Dim FilterIndex As Integer
Dim Title As String
Dim FileName As Variant

' Set up list of file filters
FInfo = "All Files (*.*),*.*"

' Display *.* by default
FilterIndex = 5 ......................


View Replies!   View Related
Macro To Link Large Number Of Cells Between Worksheets
I would like to write a macro that links cells in one workbook (working) to cells in another workbook (summary).

I don't want this to be a straight swap thought, I'd like it to contain the following formula:

=IF(Working!G8="a","a","")

The cells in the working workbook are listed vertically, while the cells in the summary workbook are listed horizontally.

ie. link G8-G18 in working to B3-K3 in summary
link H8-H18 in working to B4-K4 in summary
...etc

View Replies!   View Related
Link Variables & Sheets In Macro To A Userform
I have a sheet with 3 macros. It consists of two macros to produce results, and the third to bridge the two together where is all starts. I have built a userform in the sheet and am trying to get the variables in both sheets, to be user changeable and selectable via the userform.

In the attached data, the userform allows for the selection of two sheets, A and B. The user would select in A the sheet with data which is equivalent to Oval_An and in B the sheet with the data equivalent to Oval_DMA. The first macro, Find_75 runs, followed by the second macro, kTest, all working to produce results when hitting the Subtract button on the form. The Find_75 tolerance are also defined via the useform box, as well as kTest's compare tolerance.

View Replies!   View Related
Macro Not Working Except In One Tab, Must Save And Reopen To Work In Others.
I have a wierd issue. I have this macro for a workbook i use and if i run the macro in the first tab it runs and works fine. When i select the other tab and run it it gives me a debug error. If i close the worksheet save it and reopen it and run it in the other tab it runs fine.

So in otherwords i have to run the macro in the tab desired, save it , and always close and reopen the file to run it in the other tabs. I know the code is correct because it runs flawlessly without errors but i must be missing something.

Also i currently have the macro to run on the active tab/worksheet. Can i have it run on multiple tabs? i have 15 20 and 30 tabs in this example file but in my real file i have many more milage intervals ( some tabs i would not want to select ). It gets tedious having to select one tab at a time, run the macro, rinse and repeat.

For Example Run Macro First, in the first tab. It works perfectly. Go to the second tab and run the first macro. It gives a debug error. If you save the file and reopen it and go to teh second tab and run the macro again it works.

View Replies!   View Related
Color Sheet Tab Based On Cell Value & Name Cell
I want to change the color of worksheet tabs based on a cell's value. The following code works great, except I can only seem to get it to work when using "$A$1" as the cell's address. When I give the cell a defined name at the sheet level it does not seem to work. I want to be able to use the same code on varying worksheets that will have the cell in different locations. How should I be calling the cell using the defined name?

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Select Case Target.Value
Case "Men"
Me.Tab.ThemeColor = 5
Case "Women"
Me.Tab.ThemeColor = 6
Case Else
Me.Tab.ThemeColor = 2
End Select
End If
End Sub

View Replies!   View Related
User Form Command Button Link To Macro Recoding
Is it possible to have a user form command button perform link or steps that are recorded with macro recorder? I am trying to reformat cut and paste a xls raw data file. I am trying to keep my file uploads to a min., but can upload an example if necessary.

View Replies!   View Related
How To Ceate Formula For Cursor To Tab Cell Vs, The Next Cell Down
I would love to be able to write a formula that instructs the cursor, after data entered in one cell: say i9, move right in a tab fashion to j9, instead on a downward action to i10.

View Replies!   View Related
Link The Numbers In The Form To Separate Parts Of A Large Printing Macro?
I have set up a form where the user can enter the number of copies they want for 10 items (I will call them item1, item2 etc for ease)

Is it possible to then link the numbers in the form to separate parts of a large printing Macro?

View Replies!   View Related
Link To Any Cell
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 Replies!   View Related
Link To Another Cell
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 Replies!   View Related
Tab Name In Cell
Is there a function to return a Tab Name in a cell?

View Replies!   View Related
Link A Cell To Another Cell On Same Worksheet Using A Formula
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 Replies!   View Related
Link Pop-up On Cell Select To Cell
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 Replies!   View Related
Link Image To Cell
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 Replies!   View Related
Use A Cell Value In A Address Link...
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 Replies!   View Related
Link Data In 1 Cell
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 Replies!   View Related
Link Cell Formats
Is there a way for your linked data to cary over formatting such as Bolds, borders, fonts and colors?

View Replies!   View Related
Find Which Cell Contain Link
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 Replies!   View Related
Can Sheet Tab = Cell
Is there a way for the sheet tab to equal a cell. If I put a name in a cell, say "B3", can I get it to load as the sheet tab name or the opposite way.

View Replies!   View Related
Tab Name To Show In Cell
How can I get the Tab name to show up in a cell?

View Replies!   View Related
Tab Changes Relating To A Cell
I've done some tab changes relating to a cell. HOWEVER: I find that once I've done the input, no amount of changing the data in the (proper) cell or recalculating!

First go-round:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
On Error Resume Next
If Target.Count > 1 Then Exit Sub
If Target.Address "L6" Then Exit Sub
Sheets(Sh.Name).Name = [L6].Value
End Sub

Second go-round:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
If Target.Address(False, False) "F6" Then Exit Sub
ActiveSheet.Name = Format(Range("F6").Value, "mm-dd-yyyy")
End Sub

and last but not least:
Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
On Error Resume Next
Sh.Name = Format(Range("L6").Value, "mm-dd-yyyy")
End Sub

There are 53 sheets in the file.

View Replies!   View Related
Spin Button Link To Another Cell
how to linked the "small change" value in a spin button to take the value of another cell?

View Replies!   View Related
Link Textbox To Cell/Range
How to set up textbox which value is in a spreadsheet and not the user input?

View Replies!   View Related
Link To A Cell From A Commandbar Control
I have a right click event for a cell where I create a custom commandbar with single or multiple control buttons based on the cell value. I want to link each control button to another cell in the same sheet.

View Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved