PPApp := ComObjActive("PowerPoint. ahk file: #IfWinActive ahk_class PPTFrameClass To link this sub to the SHIFT + SPACE shortcut, this can be implemented in AutoHotKey the following way in a. If (1).HasTable = False Then Exit Sub 'if this selected shape is not a table the sub stopsĪ ("TableRowSelect") You can add or delete text and the new or remaining text automatically adjusts itself to flow within the container. All these columns are limited to be within a single text container. Figure 1: Columnar text within a text box. If > 1 Then Exit Sub 'if more than one shape is selected the sub stops In PowerPoint, you can set up a text container to possess multiple linked columns, as shown in Figure 1, below. ![]() 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. |