View Full Version : errore irrimediabile
trittico69
23-05-2017, 17:00
salve, da qualche giorno mi esce "errore irrimediabile" in un codice
Option Explicit
Public sh1 As Worksheet, sh2 As Worksheet, x As Long, y As Long, z As Long
evidenziandomi
sh1 As Worksheet
sapete aiutarmi
tomminno
23-05-2017, 17:33
Certamente
trittico69
23-05-2017, 21:32
Cioè?
tomminno
24-05-2017, 09:55
Cioè?
Esattamente :D
E' la stessa domanda che è venuta in mente immagino a tutti quelli che hanno letto il tuo post iniziale.
Mancano un bel po' di dettagli, primo il linguaggio: VBA per Excel? Sarebbe buona norma indicarlo nel titolo. Secondo il contesto: quando viene chiamato quello script? Cosa fa? Il messaggio "errore irrimediabile" (è un bel problema usare l'italiano) sulla dichiarazione sembra quasi indicare che non riconosca proprio Worksheet. Dovresti aggiungere una gestione degli errori anche solo per capire il codice d'errore.
vittorio130881
25-05-2017, 14:25
vabbè ma cmq se è irrimediabile.........basta...... che vuoi farci oramai??
passa al prossimo esercizio
:D :D :D
trittico69
19-06-2017, 12:49
credo di aver esagerato...
Mi esce microsoft visual basic,applications editing, errore di compilazione-errore di automazione-errore irreparabile.
Versione excel 2013
Windows 7 32bit
Mi evidenzia solo
sh1 As Worksheet
e nella tabella a sinistra “proprietà modulo mi evidenzia “name-archivio”
Clliccando sulo punto interrogative mi esce:
Automation error (Error 440)
office 365 dev account
When you access Automation objects, specific types of errors can occur. This error has the following possible causes and solutions:
• An error occurred while executing a method or getting or setting aproperty of anobject variable. The error was reported by the application that created the object.
Check the properties of the Err object to determine the source and nature of the error. Also try using the On Error Resume Next statement immediately before the accessing statement, and then check for errors immediately following the accessing statement.
• The Office add-in that you are trying to use has been disabled by your System Administrator.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
https://postimg.org/image/6bovbhxw1/
https://postimg.org/image/dovm0rsg5/
la seconda immagine viene dopo aver cliccato su ok della finestrella di errore
l'errore avviene appena apro il file
se questo non basta allego il file.
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.