nth table name in previous worksheer

theseven

New Member
Joined
Mar 11, 2013
Messages
9
hi,

I am trying to rename tables in worksheet based on table names in previous worksheet; For this, i need to obtain table names from last worksheet?

Actually, i need to replace specific part of table name of previous worksheet for new name: for eg: if it was xyz_123 in previous worksheet, i want it as abc_123 in new worksheet. What is the best way to do this?

Thanks in advance!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
So did you copy the worksheet? If so you can go to formula tab, under "define name" click on name manager then you will see a list of table name that will include name of table in original sheet and copied sheet so you can select which one you like to rename and then click on edit. A new name is depend on you...
 
Upvote 0
hi, I am so sorry that i did not mention: I have many tables in each worksheet. So, i am looking for a vba to do this
 
Upvote 0

Forum statistics

Threads
1,223,715
Messages
6,174,064
Members
452,542
Latest member
Bricklin

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