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

How do I assign the value in say cell a3 to a string named QuoteNumber?

oldjay
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Dumb Question

Dim QuoteNumber as string
QuoteNumber = "A quote number here"
activesheet.range("a3").value = QuoteNumber

or did you want to put the value in A3 into QuoteNumber?

QuoteNumber = activesheet.range("a3").value

Oldjay wrote:

How do I assign the value in say cell a3 to a string named QuoteNumber?

oldjay


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Dumb Question

Do something like

QuoteNumber = Range("A3").Text ' or .Value

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Oldjay" wrote in message
...
How do I assign the value in say cell a3 to a string named QuoteNumber?

oldjay


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
dumb question uw805 Excel Worksheet Functions 6 June 8th 06 05:06 PM
Dumb VBA question nobbyknownowt Excel Discussion (Misc queries) 0 April 23rd 06 08:12 AM
Dumb question of the day. DennisB Excel Programming 5 September 12th 05 03:21 AM
dumb question ForSale[_45_] Excel Programming 5 August 31st 04 03:00 AM
dumb question john m Excel Programming 2 December 24th 03 04:13 PM


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