Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a worksheet as follows: ColA ColB ColC A value value value value value value L value value value value I value value value value value value TOTAL The number of rows between A and L and between L and I and between I and TOTAL will vary. (A to L usually 10-15, L-I usually 10-15, I to TOTAL usually 30-150) I'm trying to run VBA (CommandButton) to count the number of rows between each identifier- Dim intRowCountA As Integer Dim intRowCountL As Integer Dim intRowCountI As Integer and use those numbers to insert that many rows in certain ranges on another worksheet- rgWTBa rgWTBl rgWTBi I'm pretty good with Access VBA but am new to using it in Excel. Thank you in advance for any help, Robin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert Row based on count and copy range to inserted rows | Excel Programming | |||
how do i count and insert rows | Excel Discussion (Misc queries) | |||
VBA to count rows from specific cell and insert rows | Excel Programming | |||
Check Values/Insert Rows | Excel Programming | |||
Count rows and insert number to count them. | Excel Discussion (Misc queries) |