+ Reply to Thread
Results 1 to 6 of 6

Paste Special Values/Replace - Problems

  1. #1
    Forum Contributor
    Join Date
    12-19-2006
    Posts
    113

    Paste Special Values/Replace - Problems

    Hi everybody,

    I need your help again.

    I have the following code to open 40 workbooks, each one with 2 worksheets (REC & DES), and after copy all the cells in every sheet, paste everything with "Special/values", and make the replacement of all "#N/A", but doesn't work.

    Please Login or Register  to view this content.
    Any help will be appreciated.
    Thanks to everyone

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You don't say what's not working, but try this amended code

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483
    What part doesn't work?
    Maybe the look in part, could use a back slash
    example
    Please Login or Register  to view this content.
    Maybe this could work as well... I didn't test the full code , but it does work for each worksheet
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    12-19-2006
    Posts
    113
    RoyUK and Dave

    Sorry...
    I think the part doesn't work it is this one
    Please Login or Register  to view this content.
    I try your suggestions and still doesn't work - still have the formulas, not the values, and because of that doesn't replace anything.

    Thank you both

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483
    Quote Originally Posted by Jokacave
    RoyUK and Dave
    .............

    I try your suggestions and still doesn't work - still have the formulas, not the values, and because of that doesn't replace anything.

    Thank you both
    Is the code opening the workbooks?

  6. #6
    Forum Contributor
    Join Date
    12-19-2006
    Posts
    113
    Dave,

    Your code works perfectly. I forget to change the Directory but in a second attempt I notice that.
    Thank you.

    And thank you to RoyUK too.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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