Ciao a tutti,
non riesco a creare una macro che mi apre una cartella dove selezionando e apro un file e continui automaticamente.
dopo l'apertura del file vorrei che continuasse le istruzioni della macro.
allego file di esempio
Grazie Roberto
Ciao a tutti,
non riesco a creare una macro che mi apre una cartella dove selezionando e apro un file e continui automaticamente.
dopo l'apertura del file vorrei che continuasse le istruzioni della macro.
allego file di esempio
Grazie Roberto
Last edited by robybarc; 07-27-2021 at 09:04 AM.
Ciao, il mio italiano è cattivo ma il mio VBA è buono :-)
Penso vuoi questo ma non c'e istruzioni a continuare...?
Vuoi aprire la file nella VBA, non con Shell.
Please Login or Register to view this content.
Jeff
| | |·| |·| |·| |·| | |:| | |·| |·|
Read the rules
Use code tags to [code]enclose your code![/code]
hello 6StringJazzer
thank you for your suggestion,
your macro gives me an error in the instruction
If FName = False Then
I deleted some instructions and now it works perfectly
even though I have given up checking for the existence of the folder
thanks again
Roberto
Please Login or Register to view this content.
Last edited by robybarc; 07-20-2021 at 10:57 AM.
My mistake. In my original code it should be
Please Login or Register to view this content.
thanks again, it works perfectly
Prego!
If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."
If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon addreputationiconsmall.jpg below their name.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks