+ Reply to Thread
Results 1 to 5 of 5

How to duplicate a worksheet and change the linked cells for each sheet.

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    73

    How to duplicate a worksheet and change the linked cells for each sheet.

    This is my everest, and one of the final challenges in this huge excel project I have undertaken.

    I have an excel form for use by clients, such as you might fill in at your surgery or online, populated with many many check-boxes and direct cell references for usability.

    As is the way with check-boxes, each check-box has its own linked cell. I have a spreadsheet which summarises all the form data so that all client 1's answers and details fill out row 4 of the spreadsheet. Each subsequent client has his/her own row in the summary spreadsheet, from A2 all the way across to say, A50.

    I need: to generate lots of replica sheets of the client form, but in such a way as to change the linked cell references for each additional sheet.

    E.g

    Sheet1 details, for example with client gender, age, ethnicity, link to row 1 on spreadsheet.

    Sheet2 link to row 2 on spreadsheet.

    Sheet3 link to row 3 on spreadsheet.

    Sheet4 link to row 4 on spreadsheet.

    Sheet5 link to row 5 on spreadsheet.

    Sheet6 link to row 6 on spreadsheet.

    I can click 'Move or copy' on my sheet to generate as many copies as I need - but to individually link each cell will take me some time and deprive me of much sanity. Can this be done?

    Or to look at it another way - is there a macro that could look to see if a linked cell was already taken, and if so, move +1 cells down or across?

    This may be a long-shot - but at least I know I'm in the right place!

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to duplicate a worksheet and change the linked cells for each sheet.

    Could you please attach a sample workbook?
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    73

    Re: How to duplicate a worksheet and change the linked cells for each sheet.

    Thank you for your reply, Msexcelathome.

    I have uploaded an example worksheet of what I am doing.

    Imagine Sheets 1, 2 3 etc are client forms. They all append to Sheet4 which is a summary sheet where each client form(sheets 1, 2, 3) have their own row.

    Many thanks,

    H.
    Attached Files Attached Files

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to duplicate a worksheet and change the linked cells for each sheet.

    Well, I dont think this can be done.. And even if can, its out of my understanding.. Sorry

    Deep

  5. #5
    Registered User
    Join Date
    07-24-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    73

    Re: How to duplicate a worksheet and change the linked cells for each sheet.

    No worries at all - I suspect that you're right and that there 'Just ain't no way!' - however, I'd be on cloud nine if there was a way.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Worksheet change event for linked value
    By roli001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2013, 06:24 PM
  2. Worksheet change event not working on linked cells
    By Mac10 in forum Excel General
    Replies: 1
    Last Post: 09-21-2010, 03:13 AM
  3. Being able to change the value in linked cells
    By rabright in forum Excel General
    Replies: 0
    Last Post: 12-09-2008, 07:11 AM
  4. Image linked to sheet but when sheet name change link is broken
    By Bellyx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2007, 12:41 PM
  5. Change sheet name on linked cell by dropdown box
    By Mikeice in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 09-06-2005, 07:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1