check the vba code(Macro) in this file it works fine but I have to apply this code to 4 tables in a sheet

check the vba code(Macro) in this file it works fine but I have to apply this code to 4 tables in a sheet
I have 4 tables in a sheet  and I have to apply the code to all tables  here I have putted the same data  in this 3 tables but the data will be different in these 3tables
Kindly see the sample file and see the macro in it (Vba code in it)
Sample123--2-.xlsm
Avinash SinghAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LearnReporting Automation ExpertCommented:
Use this code to move to next active table, this is just to move one table to next table, if you brief your requirement completely will help to give more details


ActiveCell.End(xlDown).End(xlDown).Select

Open in new window

0
Avinash SinghAuthor Commented:
modify the vba code as per given condition
0
Krishna MTechnical AssociatCommented:
Hi,

First set the names for each table and build a colde like below

    Dim oName As Name
    For Each oName In ActiveWorkbook.Names
        Application.Goto Reference:=oName.Name
        Call Step4inSheet2
    Next oName

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Avinash SinghAuthor Commented:
Thnx krishna M sir for giving ur precious time to this post
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.