Results 1 to 3 of 3

Invalid qualifier error help

Threaded View

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    3

    Invalid qualifier error help

    Hi all

    I am trying to run the following code but get an Invalid qualifier error at the line marked with a *
    I guess it has to do with arrays and ranges, but can't understand why.

    (RowColCount is a function that returns the number of columns and rows that are not empty. )

    thanks!!



    Sub torre()
    
    Dim Input_array() As Variant
    Dim Isin_array() As Variant
    Dim Input_range() As Range
    Dim Isin_range() As Range
    
    
    Dim NumRows As Long
    Dim NumCols As Long
    
    Dim shtDati As Worksheet
    Dim shtTest As Worksheet
    
    Set shtDati = Sheets("Dati")
    Set shtTest = Sheets("Test")
    
    NumRows = RowColCount(shtDati.Range("a1:a100"), "Row")
    NumCols = RowColCount(shtDati.Range("a1:az1"), "Col")
    
    Input_range = shtDati.Range("a1").Resize(NumRows, NumCols)
    * Input_array = Input_range.Value
    Isin_range = Input_range(NumRows, 4)
    Isin_array = Isin_range.Value
    Last edited by apeiron; 01-22-2014 at 08:04 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compile error: Invalid qualifier
    By naistinali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-06-2013, 01:43 PM
  2. [SOLVED] Help with Invalid Qualifier error
    By nickwhan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-27-2012, 05:17 PM
  3. invalid qualifier error
    By Maglor in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-30-2009, 09:14 AM
  4. Invalid qualifier Error
    By ACM-GFT in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2009, 09:05 AM
  5. compile error: invalid qualifier.
    By MGG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2005, 12:05 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