![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
Hello,
Is there anyway to enter in a foumula in tabs in Excel 2000. I would like to have a formula in a tab that would feed of a spread sheet. I hear that this isn't possible. All you can do is name them by typing it in. Anybody? [ This Message was edited by: RedSand_pei on 2002-04-09 10:44 ] |
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Location: London
Posts: 20
|
If you want to rename your worksheet whenever the contents change, the thing to do is use the worksheet.name property in VB - something like this:
Hit alt F11 on the relevent sheet and enter the following code: Private Sub Worksheet_Calculate() ActiveWorkbook.Worksheets(1).Name = Sheets(1).Cells(1, 1).value End Sub where the cell A1 contains the formula result that you require to be the sheets name. Note that the code will only work each time you update the calculation in the worksheet. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
I'll Give it a try.
I never really used VB so the language is foreign to me. Thanks! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|