Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default using sheet-variable in function

Hallo

Ich habe folgendes Problem:


Ich habe der Tabelle_xy die Variable "Daten1" zugewiesen


(Dim Daten1 As Worksheet
Set Daten1 = ActiveSheet)


Eine Formel, die von einem anderen Sheet auf Tabelle_xy (bzw.Daten1)
zugreifen soll
sieht folgendermaßen aus:


Range("A3").FormulaR1C1 = "='Tabelle_xy'!R[-2]C"


Wie kann ich "Tabellexy" in dieser Formel durch die Variabel "Daten1"
ersetzen, so dass die Formel funktioniert?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default using sheet-variable in function

microsoft.public.de.excel

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

wrote in message
oups.com...
Hallo

Ich habe folgendes Problem:


Ich habe der Tabelle_xy die Variable "Daten1" zugewiesen


(Dim Daten1 As Worksheet
Set Daten1 = ActiveSheet)


Eine Formel, die von einem anderen Sheet auf Tabelle_xy (bzw.Daten1)
zugreifen soll
sieht folgendermaßen aus:


Range("A3").FormulaR1C1 = "='Tabelle_xy'!R[-2]C"


Wie kann ich "Tabellexy" in dieser Formel durch die Variabel "Daten1"
ersetzen, so dass die Formel funktioniert?


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
Function to return the active sheet name Will Excel Worksheet Functions 2 August 23rd 05 04:33 PM
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM
Variable Sheet Name in Formula Barb R. Excel Discussion (Misc queries) 5 July 6th 05 06:20 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM


All times are GMT +1. The time now is 01:48 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"