Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49946

counter progressive

$
0
0
Hello,
I hope to explain.
The macro.
Sub CopiaESalvaInPathX ()
included in this workbook saved with a serial number (last number to the right of the name of the saved file).
In the sheet "lavori_esterni" there is a button to change:
ciao max_1
or
ciao max_2
clicking on the button
save sheet
the file is saved in the folder:
ChDir "C: \ Users \ Max \ Desktop \ lavori_esterni" (in my computer)
to display this folder, click on the button:
OPEN FOLDER SHEET SAVED
it is possible that the sequence number is unique to both the file and that every day our numbers start again from 1?
I hope I explained, unfortunately my english I translate with google translator.
I attach the sample file.
Hello and thank you.
max
--------------------------------------------------------------------------------------------------------------------
Ciao,
spero di riuscire a spiegarmi.
La macro.
Sub CopiaESalvaInPathX()
inserita in questo workbook salva con un numero progressivo (ultimo numero a destra del nome del file salvato).
Nel foglio "lavori_esterni" c'è un pulsante per cambiare:
ciao max_1
oppure
ciao max_2
cliccando nel pulsante
save sheet
il file viene salvato nella cartella:
ChDir "C:\Users\massimo\Desktop\lavori_esterni" (nel mio computer)
per visualizzare questa cartella cliccare nel pulsante:
APRI CARTELLA FOGLI SALVATI
è possibile che il numero progressivo sia unico per tutti e due i file e che ogni giorno questo numero ricominci da 1?
Spero di essermi spiegato, purtroppo il mio inglese lo traduco con google traduttore.
Allego il file di esempio.
Ciao e grazie.
max

counter.xls

Viewing all articles
Browse latest Browse all 49946

Trending Articles