Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Put the value of a cell in a variable

with worksheets("Sheet1")
strComp = .Range("B9").Value
End With
msgbox strComp

--
Regards,
Tom Ogilvy

"SHIPP" wrote in message
...
I would like to place the value of a specific cell into a variable. Does
anybody know how to do this?

Something like...

strComp=somecells value
--
M. Shipp



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
Variable Cell Value Ken Excel Discussion (Misc queries) 4 August 18th 07 04:53 PM
Adding the same cell in different worksheets. Can that cell be variable? ro Excel Worksheet Functions 0 August 18th 05 06:31 AM
Linking a cell to another workbook cell based on a variable name Brian Excel Discussion (Misc queries) 6 June 1st 05 11:54 PM
set value of variable from cell Robert Excel Discussion (Misc queries) 0 February 25th 05 09:31 PM
Variable Not in the cell rebel1970 Excel Programming 2 June 11th 04 01:40 PM


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