Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default refer to specific worksheet

Dear all

I want to refer to a cell in a worksheet by writing down the worksheet
in A2. I tried =CONCATENATE("=",A2,"!A1") but it will write down the
formula =sheet2!A1
as a string and not evaluate it.

Dirk

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 179
Default refer to specific worksheet

hi
use INDIRECT function

"Dirk Nachbar" wrote:

Dear all

I want to refer to a cell in a worksheet by writing down the worksheet
in A2. I tried =CONCATENATE("=",A2,"!A1") but it will write down the
formula =sheet2!A1
as a string and not evaluate it.

Dirk


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default refer to specific worksheet


"Dirk Nachbar" wrote in message
oups.com...
Dear all

I want to refer to a cell in a worksheet by writing down the worksheet
in A2. I tried =CONCATENATE("=",A2,"!A1") but it will write down the
formula =sheet2!A1
as a string and not evaluate it.

Dirk


Try =INDIRECT(A2&"!A1")

Cheers,

Joerg


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In VBA, How to Refer to Cell In Specific Column But Selected Rows? PBJ Excel Discussion (Misc queries) 7 August 3rd 07 05:56 PM
refer to last cell in worksheet? svh646 Excel Worksheet Functions 2 July 25th 06 01:23 AM
Using 'If' refer to specific words in a cell containing text Casino Guy Excel Worksheet Functions 5 August 10th 05 02:02 PM
Refer to Excel Worksheet by its name RichB Excel Worksheet Functions 2 February 5th 05 01:07 PM
Formula to refer to other worksheet... Liz-In-USA Excel Worksheet Functions 4 November 9th 04 10:51 PM


All times are GMT +1. The time now is 06:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"