|
|
|
|
Strumenti |
23-05-2017, 16:00 | #1 |
Member
Iscritto dal: Mar 2009
Messaggi: 100
|
errore irrimediabile
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 |
23-05-2017, 16:33 | #2 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 3305
|
Certamente
|
23-05-2017, 20:32 | #3 |
Member
Iscritto dal: Mar 2009
Messaggi: 100
|
Cioè?
|
24-05-2017, 08:55 | #4 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 3305
|
Esattamente
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. |
25-05-2017, 13:25 | #5 |
Messaggi: n/a
|
vabbè ma cmq se è irrimediabile.........basta...... che vuoi farci oramai??
passa al prossimo esercizio |
19-06-2017, 11:49 | #6 |
Member
Iscritto dal: Mar 2009
Messaggi: 100
|
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. |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:47.