# Enumeration value modification
[GstarCAD 2012](../../Index.md) → [Developer Reference](../%28Developer%20Reference%29.md) → [VBA Migration Guide](%28VBA%20Migration%20Guide%29.md)
Enumeration value differences between GstarCAD<sup>®</sup> and AutoCAD<sup>®</sup>
> The VBA class name contains two parts as follows: "Enumeration prefix" \+ "Enumeration variable"
> Enumeration prefix : Product prefix is known as "gc" in GstarCAD<sup>®</sup> the same to the "ac" in AutoCAD<sup>®</sup>
> Enumeration variable : GstarCAD<sup>®</sup> enumeration name convention keep compatible with that in AutoCAD<sup>®</sup>.
Example
> The red color enumeration will be known as:
> GstarCAD<sup>®</sup>: gcRed
> AutoCAD<sup>®</sup>: acRed
How to modify the enumeration value in GstarCAD<sup>®</sup>
> 1\. Open the VBA project that will be migrated to AutoCAD<sup>®</sup>.
> 2\. Export whole project or save the source in text format.
> 3\. Import the above project or create the project using the backup.
> 4\. Modify all the enumeration string "ac" to "gc" in VBA text editor after all the class name has been migrated.
> 5\. Save all the modified codes.
>
> ---
>
> **Note**:It is recommended that you firstly run and verify your VBA project.
>
> ---
## Other versions with matching text
[GstarCAD 2011](../../../2011/Developer%20Reference/VBA%20Migration%20Guide/Enumeration%20value%20modification.md)