Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Indirect addressing

Hi,
I want to put a value into a cell pointed to by data in another cell.
For example, assume cell D5 contains "C4" and I want to put "@@@@" into
cell C4 by using VBA code referring to the contents of D5.
I can apply the 'Indirect' approach when I use the Excel 2003 Worksheet
Lookup Functions but what do I use in VBA?
Thanks in advance,
Ken Rock
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Indirect addressing

CHECK: you want to write in a cell known by its name (and this name is
given into an other cell, D5 in your example)

since you are sure the content of D5 is a cell name,
you may use : Range(Range("D5").value)
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Indirect addressing


Many thanks for your prompt response.
It's just what I wanted!
Ken Rock


*** Sent via Developersdex http://www.developersdex.com ***
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
Indirect addressing for linked file ChEBass Excel Worksheet Functions 5 December 11th 08 10:02 PM
Graphs using indirect addressing [email protected] Charts and Charting in Excel 3 January 2nd 08 05:37 PM
Indirect Addressing in VBA C Brandt Excel Discussion (Misc queries) 7 July 3rd 07 10:13 PM
Indirect Addressing Kanga 85 Excel Discussion (Misc queries) 3 December 5th 05 04:03 AM
Indirect addressing Tom Schroder Excel Programming 1 November 3rd 03 08:11 PM


All times are GMT +1. The time now is 02:02 AM.

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"