1.enable macro
file-->options-->Trust Center-->Trust Center Setting...-->Macro Settings
2.Open VBA
Way1. Alt+F11
Way2. View code
Way3.File-->Options-->Customize Ribbon-->Developer
3. Open Immediate window
Ctrl + G