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: 5

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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).
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,813
Messages
6,121,706
Members
449,048
Latest member
81jamesacct

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
Back
Top