|
-
Jan 8th, 2010, 05:44 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Get Cell value using cell address
hi guys, how to get the cell value given a particular cell address like: $A$29
Thanks.
The taller the bamboo grows the lower it bends... 
-
Jan 8th, 2010, 02:55 PM
#2
Fanatic Member
Re: Get Cell value using cell address
If you are using VBA in Microsoft Excel then the following will store the value of the cell. You will need to place this in a Sub, either in the weeksheet, or a new Module.
Code:
Dim myValue as string
myValue=Range("$A$29").Value
To learn more about Excel VBA, the easiest way is to record a macro, and just start doing things in excel. Excel will create code for you, that you can review later to understand how to perform certain tasks/steps/functions.
- Macro's are located at: Tools > Macro.
- To record one select "Record New Macro"
- Make sure you Stop recording when you are done.
- To easily access the recorded macro Hit Alt+F11 to open the VB-Editor.
If you meant as a formula rather than VBA Code, simply reference the cell with =
Please RATE posts, click the RATE button to the left under the Users Name.
Once your thread has been answered, Please use the Thread Tools and select RESOLVED so everyone knows your question has been answered.
"As I look past the light, I see the world I wished tonight, never the less, sleep has come, and death shall soon follow..." © 1998 Jeremy J Swartwood
-
Jan 9th, 2010, 03:21 AM
#3
Thread Starter
Addicted Member
Re: Get Cell value using cell address
thanks.. rack
The taller the bamboo grows the lower it bends... 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|