+ Reply to Thread
Results 1 to 3 of 3

error: instruction invalid out of type block

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    error: instruction invalid out of type block

    Hi,

    I am getting an error: instruction invalid out of type block (translated from dutch).What am i doing wrong?

    Any input i much appreciated!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: error: instruction invalid out of type block

    Time to start responding to your other threads and marking as solved I would say....
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    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: error: instruction invalid out of type block

    You need to use Dim (or relevant other keyword depending on scope) when declaring variables.
    Rory

+ 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. runtimer error 380, could not set the list the list property, Invalid property type
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2015, 12:19 PM
  2. Trying to change the mouse icon and I am getting an error that my picture type is invalid
    By bloomingcarrot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-20-2015, 07:59 PM
  3. Invalid Data type error
    By kiran527 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2012, 11:00 PM
  4. [SOLVED] vba macro code error: statement invalide outside type block
    By satania in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-20-2012, 04:05 PM
  5. "Statement invalid outside Type block" error
    By theinexplicablefuzz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2011, 05:06 PM
  6. error:Statement invalid outside type block
    By biobee07 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-04-2010, 07:11 PM
  7. statement invalid outside type block
    By DKY in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2008, 08:49 PM

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