+ Reply to Thread
Results 1 to 3 of 3

standard excel into VBA formatting issue

  1. #1
    Forum Contributor
    Join Date
    08-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    132

    standard excel into VBA formatting issue

    I have the following code

    Please Login or Register  to view this content.
    This works, apart from the fact that it gives me the following result:

    Please Login or Register  to view this content.
    I can't for the life of me figure out how to get the ACTUAL cell after the beginning of the IF statement, (BF492) instead of ('BF492')

    How do I remove the ' ' that surround the cell?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646

    Re: standard excel into VBA formatting issue

    Instead of .Value try using FormulaR1C1 and change BF2 to RC[54].
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    08-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: standard excel into VBA formatting issue

    I love you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel formatting issue--- NEED HELP
    By seo_jared in forum Excel General
    Replies: 1
    Last Post: 01-23-2013, 08:05 PM
  2. EXCEL formatting issue
    By veets57 in forum Excel General
    Replies: 2
    Last Post: 10-02-2012, 12:46 PM
  3. Simple Issue: Standard Deviation by Date range...
    By niceguy21 in forum Excel General
    Replies: 3
    Last Post: 06-19-2012, 01:19 PM
  4. Issue with conditional formatting in excel
    By Ankit_kuchhal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2011, 06:47 AM
  5. Replies: 4
    Last Post: 05-31-2010, 05:33 PM

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