Hi all! I'm pretty new to VBA macors, I generally stumble my way around google to figure these things out which has got me so far but I've finally gotten stuck. So far, I have the following macro:
Based on a macro I found elsewhere and that I've tweaked to try and get it a little closer to what I need. The goal of the macro is that I can select a cell in Sheet1, click the macro button and then it will add a row above the selected row on both that sheet as well as sheets 3 & 4, copying the formatting from the previous row and also copying over the formula. The only small problem is that I don't want it to copy the formula from the whole row, only the first four columns, which is where my knowledge is lacking. I know I need to replace the EntireRow part of that line, but I can't figure out what to replace it with. And I'll be honest, I understand about 50% of the macro I posted above, it's just things I've found and seem to work, but if there's a cleaner/better way of doing then then I'll be glad to hear. Any suggestions would be appreciated!
Edit: While typing this out I was making occasional tweaks to the macro, and apparently managed break it at some point, I'll edit again once I manage to figure out what I did and get it back working again.
Bookmarks