format in VBA

  • Thread starter Thread starter CG Rosén
  • Start date Start date
C

CG Rosén

Good evening Group,

How do I express the following format, to use in the advanced filter, by
code?

exempel : ="=Ice"

Textbox1 = "Ice"

Following gives FALSE

Cells(1,1) = ""="="" & Textbox2 & """

Brgds

CGR
 
Cells(1, 1).Value = "=""=" & TextBox2.value & """"

I like:

Cells(1,1).value = "=" & Chr(34) & "=" & textbox2.value & Chr(34)

Those double quotes are confusing!
 

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

Back
Top