+ Reply to Thread
Results 1 to 3 of 3

Want to change color of vba editor's font when i open my workbook

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Want to change color of vba editor's font when i open my workbook

    hi,


    Want to change color of vba editor's font when i open my workbook

    Tools>Options on the "Editor Format" tab

    i want to change my editor selection color when i open my workbook

    thank you
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Want to change color of vba editor's font when i open my workbook

    Good evening HaroonSid

    No. Well, not from within Excel at any rate.
    You can do this by using RegEdit to change keys in the registry. Warning : Poking about indiscriminately in the registry can FUBAR your computer. Do not attempt this unless you are comfortable doing so.

    The keys are :
    • HKEY_CURRENT_USER\Software\Microsoft\VBA\7.0\Common\CodeForeColors
    • HKEY_CURRENT_USER\Software\Microsoft\VBA\7.0\Common\CodeBackColors


    If you are using a version of Office earlier than 2010, then replace 7.0 with 6.0. Valid values for these keys range between 0 (Auto) and 16.

    HTH

    DominicB

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Want to change color of vba editor's font when i open my workbook

    In Excel 2011, if one opens the VBEditor, under the Excel Menu, the Preferences option has an Editor Format tab.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank 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. [SOLVED] How to change the VBA Editor's font size?
    By Mariano B. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-13-2020, 12:03 AM
  2. Replies: 2
    Last Post: 02-04-2013, 02:00 PM
  3. Change font color based on font color of another cell
    By Ibyers in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2012, 09:36 AM
  4. Change the font color to black in the entire workbook
    By fatalcore in forum Excel General
    Replies: 2
    Last Post: 03-31-2011, 02:30 AM
  5. change font color and font style in shape
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2011, 10:05 AM
  6. [SOLVED] EXCEL Workbook tab format options: change color or font
    By fstudley in forum Excel General
    Replies: 3
    Last Post: 03-03-2005, 03:06 PM
  7. [SOLVED] change defaut workbook font color
    By Ak_Deeg in forum Excel General
    Replies: 1
    Last Post: 02-13-2005, 10:06 AM

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