English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

For instance : I have a file with a 100 worksheets, and in each sheet i need to have written " Whatever + active worksheet name" ?
Thanks

2006-09-20 00:45:39 · 5 answers · asked by ChomChom 1 in Computers & Internet Programming & Design

5 answers

in english please!!!!

2006-09-20 00:58:09 · answer #1 · answered by Anonymous · 0 0

I'm not quite sure what you mean, but this may be part of your solution:

In Excel, you can link to other cells in other files using the following syntax:

=[FILENAME.xls]SHEET!CELL

So, if you have a file name "c:\file.xls", and a sheet called "Sheet1", and you want to link to cell A1, you should write the following in your cell:

='c:\[file.xls]Sheet1'!$A$1

You can also create this link automatically (without any coding) by opening both files, then from your first file, press '=' then link to your second file and select the cell of your choice. Press 'Enter' and you'll see the result in your cell.

Hope this helps!

2006-09-20 01:51:48 · answer #2 · answered by Bernz 6 · 0 0

This code will go through all the worksheets and put "Worksheets " in cell A1:

For i = 1 To Sheets.Count
Sheets(i).Select
Range("A1").Value = "Worksheet " & Sheets(i).name
Next i

2006-09-22 15:56:14 · answer #3 · answered by patabugen 2 · 0 0

The answer is in the question.

Rawlyn.

2006-09-20 01:05:34 · answer #4 · answered by Anonymous · 0 0

no

2006-09-22 12:58:58 · answer #5 · answered by Anonymous · 0 0

fedest.com, questions and answers