Name property (grid)


The Name property specifies the internal name VBA uses to reference a grid object.




grid – A grid object.


The first portion of a grid’s name is the same as the name of the window containing the grid. However, grid names include the word “Detail” at the end of the name.

Use the Name property to change a grid name when you need to resolve naming conflicts between grids and other objects in your application. You can also use the Name property when you want to make an object’s name more readable in VBA code. Be sure to replace all referenced occurrences of the window with the new name.

Documentation Feedback