If > 1 Then Exit Sub 'if more than one shape is selected the sub stops If = 0 Then Exit Sub 'if nothing is selected the sub stops 'First we check some conditions to make sure that the user has selected a table, otherwise an error will occur if the user didn't select anything or if it selected something else than a table Those buttons can be executed in VBA the following way, example here with the SelectRow() sub. I have finally found out that select rows and select columns are native built-in functions in PowerPoint - they allow to select multiple rows or columns if the user selected multiple cells.Īccording to Microsoft's documentation, the name of those commands are TableRowSelect and TableColumnSelect ( for the command names of built-in ribbon buttons in Office softwares).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |