+ Reply to Thread
Results 1 to 3 of 3

errore "tipo non corrispondente"

  1. #1
    Registered User
    Join Date
    12-23-2022
    Location
    italy
    MS-Off Ver
    2211
    Posts
    13

    errore "tipo non corrispondente"

    Buonasera a tutti, questo codice continua a darmi "Tipo non corrispondente" come errore, qualcuno sa qual è il motivo?
    Grazie a chi mi risponder?

    Please Login or Register  to view this content.
    Nota dal moderatore: per favore dedica del tempo a rivedi le nostre regole. Non ce ne sono molti, e sono tutti importanti. La regola no. 2 richiede "tags" di codice. Li ho aggiunti per te questa volta perché sei un nuovo membro. Grazie! --6StringJazzer
    Last edited by 6StringJazzer; 02-12-2023 at 05:14 PM.

  2. #2
    Valued Forum Contributor rollis13's Avatar
    Join Date
    01-26-2012
    Location
    Cordenons
    MS-Off Ver
    Excel 2016 32bit - Win 11
    Posts
    917

    Re: errore "tipo non corrispondente"

    Since your are testing all the cells in Range("A1:C" & lastRow) when you get to a cell in column C in this test If Year(cell.Offset(0, 2).Value) <= 2018 the offset cell isn't a Date. This will result in Error run-time '13':
    Last edited by rollis13; 02-12-2023 at 05:16 PM.

  3. #3
    Registered User
    Join Date
    12-23-2022
    Location
    italy
    MS-Off Ver
    2211
    Posts
    13

    Re: errore "tipo non corrispondente"

    I don't think is that the problem because the cells are Date. Is it possible to insert an attachment?

+ 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: 3
    Last Post: 11-19-2020, 08:30 PM
  2. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  3. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  6. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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