+ Reply to Thread
Results 1 to 16 of 16

Removing link from the specific sheet & converting into value

  1. #1
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Removing link from the specific sheet & converting into value

    Hi,

    I have a multiple sheets and each of them are linked with each other.However,I want to removing any link that is associated with "Main" worksheet and converting the data into value of other worksheet which is linked with "Main" worksheet.The interlink with other worksheets is to be left intact i.e no change should be there.

    A sample file with few worksheet is enclosed for your kind reference.

    Hoping a positive response in this regard.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Removing link from the specific sheet & converting into value

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Thanx for the response.There is an error prompting at 4th row while testing.Also,kindly note that the wherever links in whatever cell reference are there that r linked with 'Main' sheet be converted into values.

  4. #4
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    I think it had worked but when adding one more sheet i.e "Sheet3",the above code does not work.

    Kindly note that again that wherever links in whatever cell reference are there that r linked with 'Main' sheet be converted into values.

    Hope I could able to make it understand.

    Hoping a positive response to this query.

    Sample workbook is enclosed for your kind reference.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Still eagerly waiting for the response.

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Removing link from the specific sheet & converting into value

    Apologies My Mistake.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 11-16-2017 at 01:05 PM.

  7. #7
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Dear Sir,

    Thanx for your kind reply.Can you plz upload workbook with code as enclosed in Post #4 after testing your code.I have tested but seems to be not working.

    Any help in this regard will be further appreciated.

  8. #8
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Removing link from the specific sheet & converting into value

    Ok

    I see the issue.

    Try this Version.

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Perhaps this has worked out.Thanx for your kind reply.

    I would like to have one more favour if you do not mind it.

    Everything is same as above,now instead of converting value (which was awesome as per your Post #8),can all the formula which is linked with "Main" worksheet be absolutely be hidden,so that no one can see the formula/link that is linked with "Main" sheet.

    Hoping your further kind response.

  10. #10
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Eagerly waiting for your kind response.

  11. #11
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Removing link from the specific sheet & converting into value

    Ahh, sorry.

    We usually do something differrent for that scenario.

    Please Login or Register  to view this content.
    This Macro is in the Workbook Macro module of the attachment.

    It makes it impossible to select any cell with a link to main.

  12. #12
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Thankx for your kind reply once again.

    I would like to express one more thing is that when I use your code as mentioned in Post #8 in my original workbook changing the worksheet name "Main" to another name "tb",the code fails to works.Can you let me know why this happen ? Is there any hidden restriction imposed ? Kindly let me know.I can share my original workbook but not publicly here.My email id - [email protected].Pls revert in email,I will share to you privately.

    Hoping your kind co-operation in this regard.
    Last edited by paradise2sr; 11-22-2017 at 08:21 AM.

  13. #13
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Removing link from the specific sheet & converting into value

    We are searching for the name "Main" in the macro.

    If you change that name to something else then the macro fails.

    There is a way around this.

    If your sheet main is sheet1 of your workbook then we can read the sheet name for sheet1 and then run our macro.

    I will show you how.

    But first.

    Try this:-

    Please Login or Register  to view this content.

    Ok I have tested this and it seems to work.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mehmetcik; 11-23-2017 at 05:20 PM.

  14. #14
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Ok.Pls find enclosed in attachment my file.The code still does not seems to work.I have mentioned your code as stated.Only the filename is changed but still could not get into.I have deleted all other sheet for simplicity.

    Plz revert the same file,if succeeds.If not,kindly close this thread from your end.

    And thankx for your consistent support.
    Attached Files Attached Files
    Last edited by paradise2sr; 11-23-2017 at 12:16 PM.

  15. #15
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Removing link from the specific sheet & converting into value

    This code works for your example:

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 11-23-2017 at 05:19 PM.

  16. #16
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Removing link from the specific sheet & converting into value

    Thanx.Finally you post #15 worked out in my attachment post #14.

    Lastly,

    Kindly refer post# 9 that how would you revise your code.in below case

    "I would like to have one more favour if you do not mind it.

    Everything is same as above,now instead of converting value (which was awesome as per your Post #8),can all the formula which is linked with "tb" worksheet be absolutely be hidden,so that no one can see the formula/link that is linked with "tb" sheet.
    .Worksheet "Main" is replaced by"tb" as per mine post #14.

    Hoping your further kind response. "

    Momentarily I am marking this thread as solved.

+ 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. [SOLVED] Link to a specific cell from 1 sheet to another
    By tommytrader in forum Excel General
    Replies: 1
    Last Post: 01-29-2017, 09:35 PM
  2. How to link to a specific location in another sheet
    By TheN in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2016, 05:02 PM
  3. How Can I: Link from OneNote to a Specific Sheet/Cell in Excel?
    By Sandcastle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-29-2015, 05:14 PM
  4. Keep images in an excel sheet while removing their link
    By Wizard Serge in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2013, 06:23 PM
  5. Replies: 5
    Last Post: 07-20-2013, 01:49 AM
  6. [SOLVED] Link to a specific sheet
    By Nimbus55 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-18-2006, 09:40 AM
  7. Link to specific sheet
    By Jim in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2005, 12:06 AM

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