HI, Please find the following link to improve & optimize your VBA ccode. http://analysistabs.com/vba/optimize-code-run-macros-faster/ 1. Do save as your file...
hi, give this a try. Cell A1 will contain 120105, Cell G2 will contain the answer 1215
Hi,Here is the solution to disable message and to automatically update the links when you open a workbook. Please follow...
Hi, Here is the sample projects related to userform available in the following link. You can also download sample workbook...
Hi, Here is the solution to refer First name from one cell and Last name from another cell. You can...
Hi,Here is the solution to generate multiple XML files using VBA code. Screenshots:Here are the sample input & output screen shots...
Thank you for your help as also, much appreciated.
HI, Please run 'Sheets_VeryHidden ' procedure before clicking on show userform. So that you will not see specified worksheets in...
I need to group rows based on repeated text cell in column A , no. of columns are dynamic
then sum total of each group and hide the groups showing only the totals
As start point try this code
Dim AsteriskPositions(1 To 1500) As Long
Dim counter As Long, I As Long
For I = 1 To Range("A" & Rows.Count).End(xlUp).Row
If Cells(I, 1).Value <> Cells(I + 1, 1).Value Then
counter = counter + 1
AsteriskPositions(counter) = Cells(I, 1).Row
For I = 1 To counter
If I = counter Then
Range("A" & AsteriskPositions(I) + 1 & ":A" & AsteriskPositions(I + 1) - 1).Rows.Group
Can you show us sample of your workbook to see what we can do with totals?
Thanks for the assistance, tried with above code, its grouping only for few texts not for all the unique texts in Column A, there are more than 3000 rows, month on month it keeps increasing.
Also let me know where to send the sample workbook attachments??? any email ID??
Please share using the share button above.
If you found the answer is best answer for your question, Please mark as 'best answer' by clicking on the right tick mark icon at the left side of the answer.
Found the answer useful and wants to credit the user, then vote the answer (vote up).