+ Reply to Thread
Results 1 to 4 of 4

RunTime error 438 on adding formulas and pasting them as values.

  1. #1
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    RunTime error 438 on adding formulas and pasting them as values.

    Hi,

    I have the following piece of code:
    Please Login or Register  to view this content.
    On the red coloured part is returning a 438 error. I've searched and read about it, but I cannot figure it out. Any ideas why it returns an error?

    Many thanks in advance,
    Paul
    Last edited by PaulM100; 06-29-2018 at 06:29 AM.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: RunTime error 438 on adding formulas and pasting them as values.

    I think you meant wsDest not wbDest, and you haven't properly qualified your ranges:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: RunTime error 438 on adding formulas and pasting them as values.

    So silly from me. Haven't figured out by myself. Now it works, but it doesn't apply the formula. Basically, it doesn't returns the results. I've tried changing it to
    Please Login or Register  to view this content.
    setting the wsSource as
    Please Login or Register  to view this content.
    but it returns the same error again.

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: RunTime error 438 on adding formulas and pasting them as values.

    Nevermind, fixed it.

+ 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. runtime error 1004 when pasting pictures
    By aprildu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2017, 11:13 AM
  2. Runtime error 5345 while pasting chart from Excel into Word
    By DanielZ123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-08-2015, 11:19 AM
  3. VBA Runtime Error 438 When Adding Chart
    By tmyer2107 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-21-2015, 12:44 PM
  4. Runtime Error - Type Mismatch when copying and pasting cells in sheet with macros
    By lhickerson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-18-2014, 01:25 PM
  5. Runtime error 1004 when copying & pasting data to another sheet
    By luneke1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2014, 06:04 PM
  6. Copy and Pasting Issue (Runtime error '1004')
    By kinseld5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2013, 08:26 AM
  7. Runtime error 1004 when copying and pasting a filtered collumn excel 2010
    By Shedacq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2012, 06:35 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