![]() ![]() ![]() Any other value will not be accepted and it defaults back to AUTO. The problem is that the VBA Editor does only support these internal values and the highest number it understands is 16. The background of the code editor will now be red. To give it a try: Close Excel, change the first value of CodeBackColors to 5 and restart Excel. The values are the internal id for the color, 0 means AUTO coloring, 11 shows cyan, 5 red etc. For example, the first value inside CodeBackColors is the background color and the first value inside CodeForeColors is the foreground color for normal text. HKEY_CURRENT_USER\Software\Microsoft\VBA\6.0\Common\CodeBackColorsĮach of these keys contains a list of values (separated by space) for each entry inside Tools -> Options -> Editor Format. HKEY_CURRENT_USER\Software\Microsoft\VBA\6.0\Common\CodeForeColors VBA reads the settings for the colors from these registry keys: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |