VBA - Copying rows in between ranges

Status
Not open for further replies.

jo_hivera

New Member
Joined
May 29, 2020
Messages
28
Office Version
  1. 2019
Platform
  1. Windows
Good Afternoon,

I've been working on a file that has been automated in the past with simple formulas or just by linking cells to other sheets.
In this case, I'm having trouble programming a macro, by using a button, to copy a specific table in between ranges.
The ideia is to click the button that will insert the table under the others of the same kind, but above another 2 tables that must be in that order.
The point being that it copy the table below the one created before.

I also need help automatically naming sheets when created. I need to click a button, which will copy an example sheet, but it needs to follow a specific pattern, name-wise.
I've tried the regular programming on vba, but i've been tweaking it, with no success so far.

I'm attaching the example document.

Thank you for your help.
 

Attachments

  • Sem Título.png
    Sem Título.png
    144.3 KB · Views: 3

Some videos you may like

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,774
Office Version
  1. 365
Platform
  1. Windows
Duplicate Copying rows in between ranges with VBA

Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Status
Not open for further replies.

Watch MrExcel Video

Forum statistics

Threads
1,128,091
Messages
5,628,617
Members
416,329
Latest member
phxdan79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top