Dumb Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

oldjay
 
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
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Can't activate an existing workbook 6
Placing cursor in message box 1
On Error 6
Input box 1
copying sheet name 4
next column 7
Reversing cells 2
Input box 7

Back
Top