troubleshooting Question

Excel Insert row and count down

Avatar of LadyHagood
LadyHagoodFlag for United States of America asked on
VB Script* Excel TableVBAMicrosoft ExcelMicrosoft Office
2 Comments1 Solution21 ViewsLast Modified:
Hi All,
Trying to create a function or any approach that will produce the following.  Any ideas are welcome.
I have a worksheet with active products. Each row as details such as item number, version, sku and price. I need a function that looks at the version and if its is anything higher than 1, insert a duplicate line below for the number of previous versions. copy all data except the version number. that needs to count down.  So if it is version 22, the function will insert 21 lines below it (without overwriting lines that are already there).  Each line is a duplicate of the original except for the version, which is a count down to 1.  There are no 0 versions.

thank you so much in advance

Join our community to see this answer!
Unlock 1 Answer and 2 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 2 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