Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Copy or insert range from a user form Excel 2010

$
0
0

This seems like a fairly common task but I am not getting anywhere with my attempts.  I am trying to build a report that is fed from several sheets, so I fill out my userform and it populates Sheet1, Sheet2, sheet3 etc... I tried this but it inserts an extra row and I don't know how to reference other rows after they have shifted down. The number report rows can vary. In my example the Executives can be 1 or 20 depending on the size of the department. I have tried the range.insert from a button on the userform and it worked but overwrites the row heading below it. Can anyone point me towards a sample report that might be similar? thanks 

Sheets("Sheet4").Select
    Range("Execs").Select
    Selection.Copy
    Sheets("Sheet8").Select
    Range("A9").Select
    Selection.Insert Shift:=xlDown
    Sheets("Sheet4").Select
    Application.CutCopyMode = False


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>