![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
WOW, It works perfect. Thanks a lot.
Could you explain to me what these lines of code do? I execute it step by step and still I don't understand it very well: Code:
With oTbl For r = .Rows.Count - 2 To 3 Step -3 .Split .Rows(r) Next End With Code:
For i = 1 To .SelectedItems.Count Step NumCols r = ((i - 1) / NumCols + 1) * 3 - 2 MsgBox r Last edited by gorkac; 03-06-2022 at 12:44 AM. Reason: One more question. |
![]() |
Tags |
solved |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stack multiple tables on top of each other in a single table | Remko | Excel | 2 | 04-18-2021 04:18 AM |
![]() |
victorybadges | Word VBA | 4 | 12-25-2020 02:11 PM |
How to compile text from multiple tables into a cell in a nested table | jrooney7 | Word VBA | 2 | 03-11-2019 07:55 AM |
![]() |
JBA479 | Word VBA | 1 | 01-24-2014 08:51 PM |
![]() |
pakistanray | Word Tables | 2 | 10-31-2011 08:07 AM |