Skip to content

Cloning worksheets at specific positions #1089

Answered by JanMarvin
Jeff-White-AZ asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Jeff-White-AZ ,

cloning is a nasty thing. So many things can go wrong and have to be taken care of. It has come a long way, but it was not a "walk in the park" to say the least and it definitely isn't perfect, hence the warning. It isn't likely that I'm going to tinker with it any time soon, therefore a custom function that does what you do seems like the best solution at hand.

Something like this:

  • check for matching spreadsheet names
  • get the position of the matching spreadsheet name in the workbook you want to clone into
  • remove the matching spreadsheet in the workbook you want to clone into
  • clone the worksheet
  • update the sheet order

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JanMarvin
Comment options

Answer selected by Jeff-White-AZ
@Jeff-White-AZ
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants