+ Reply to Thread
Results 1 to 2 of 2

How do I use "" in my cell value

  1. #1
    Registered User
    Join Date
    01-17-2005
    Posts
    28

    How do I use "" in my cell value

    Hi,

    How would I enter a word with quotations around it through VBA? For example, I want cell 1 to show

    "anyword"

    instead of

    anyword

    Thanks for your help.

    j

  2. #2
    Forum Contributor
    Join Date
    11-09-2004
    Posts
    451
    try this

    range("a2").select
    ActiveCell.FormulaR1C1 = """anyword"""

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1