Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Simple assignment question

I have a cell that is populated from a drop down list.
I want to place the value in the cell into a portion of memory and I cannot
remember how to correctly word it.

I have tried:
myTitle = Range("B3").Value
myTitle = B3
myTitle = Range("B3")
myTitle = Worksheets("Current").Range("B3").value
And all of the above combinations with Set in front.

What am I doing wrong? I know this is something simple and I should see it
but just am not seeing it.

LWhite


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Simple assignment question

If it is from a drop down list then you need to refer to the control
containing the value.

mytitle = combobox1.value

--
Cheers
Nigel



"L.White" wrote in message
...
I have a cell that is populated from a drop down list.
I want to place the value in the cell into a portion of memory and I

cannot
remember how to correctly word it.

I have tried:
myTitle = Range("B3").Value
myTitle = B3
myTitle = Range("B3")
myTitle = Worksheets("Current").Range("B3").value
And all of the above combinations with Set in front.

What am I doing wrong? I know this is something simple and I should see it
but just am not seeing it.

LWhite




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Simple assignment question

Never mind. I found it. This should not be Long but should be String.

Sorry to bother everyone.
LWhite


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
Pls answer the following question for me for my assignment. mpotla Excel Discussion (Misc queries) 3 July 27th 08 07:58 AM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple question MasterMind Charts and Charting in Excel 1 October 1st 05 02:45 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
simple question, hopefully a simple answer! Matt B Excel Programming 5 January 13th 04 08:43 PM


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