+ Reply to Thread
Results 1 to 5 of 5

How to Ignore error [Expression.Error]The column 'Stock' of the table wasn't found

  1. #1
    Registered User
    Join Date
    07-15-2020
    Location
    united kingdom,England
    MS-Off Ver
    2019
    Posts
    13

    How to Ignore error [Expression.Error]The column 'Stock' of the table wasn't found

    Hi all,

    I need help on this solve this problem.

    I had 3 sheet data that query data from some site. When there is no data on the site error ([Expression.Error]The column 'Stock' of the table wasn't found) will be display and need to click ok to retrieve the other data.

    How to ignore the Expression.Error?

    How can I truncate/delete data before I refresh the data again?

    This is my script :

    Please Login or Register  to view this content.
    Please somebody help me.

    Thanks
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by jerung3000; 08-15-2020 at 01:49 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: How to Ignore error [Expression.Error]The column 'Stock' of the table wasn't found

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-15-2020
    Location
    united kingdom,England
    MS-Off Ver
    2019
    Posts
    13

    Re: How to Ignore error [Expression.Error]The column 'Stock' of the table wasn't found

    ok..already put the code tag..

  4. #4
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: How to Ignore error [Expression.Error]The column 'Stock' of the table wasn't found

    Try
    Please Login or Register  to view this content.
    But be careful, thr data can be incorrect In the result table.

  5. #5
    Registered User
    Join Date
    07-15-2020
    Location
    united kingdom,England
    MS-Off Ver
    2019
    Posts
    13

    Re: How to Ignore error [Expression.Error]The column 'Stock' of the table wasn't found

    Hi BMV,

    Still did not work, already tried two method of yours like below but still didn't work.

    Please Login or Register  to view this content.
    other one still didn't work too

    Please Login or Register  to view this content.

+ 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. Replies: 6
    Last Post: 06-04-2020, 11:02 AM
  2. [SOLVED] Runtime Error '3075': Syntax error in the string in the query expression [SQL]
    By leegrj in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-28-2020, 04:11 PM
  3. runtime error '-2147024809 (80070057)' The item with the specified name wasn't found
    By jigarrathod in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-05-2017, 09:18 PM
  4. Run-time error '-2147024809 (80070057)' Item with specified name wasn't found
    By tom_6030 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-08-2014, 10:24 PM
  5. [SOLVED] Compile error: Constant expression required error when merging two Codes
    By Kezwick in forum Outlook Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2013, 09:32 AM
  6. Replies: 1
    Last Post: 11-17-2012, 11:10 PM
  7. [SOLVED] Error; chart wasn't found
    By Metin in forum Excel General
    Replies: 1
    Last Post: 02-24-2005, 10:06 PM

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