troubleshooting Question

Macro comments for understanding VBA

Avatar of phoffric
phoffric asked on
SpreadsheetsVBAMicrosoft ExcelMicrosoft Office
6 Comments1 Solution225 ViewsLast Modified:
Need help understanding vba in excel spreadsheet. Attached is a spreadsheet with an indent macro. I would like to learn enough vba so that I can try to modify it if need be.
I would appreciate if the macros could be annotated with comments for the non-obvious lines. Here is what I find obvious:

Dim lngLastRow As Long
For lngRow = 1 To lngLastRow
Exit For
End If
lngLoopEnd = lngLastRow
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros