Apply a Macro to a list of sheets

Fener

New Member
Joined
Feb 9, 2015
Messages
4
Hi, i'm sorry for my bad english, but i'm Italian.
I would like to apply a macro to a list of sheets.
I mean, I have 30 sheets, and the their names are written in the sheet "Start", Range("A5:A100"). In a sheet "Setting" i have the macro that I would like to apply to every sheets (and the specific name of each sheet is in that range)...
How can I do it?

Thank you very much
 
Quello che vorrei fare è:
Ci sono 500 fogli, ognuno con il nome della società (es. APPLE, GOOGLE, IBM...)
Questi 500 fogli sono tutti uguali, cioè hanno la stessa formattazione (nella colonna A la data, nella colonna B il prezzo di apertura, C il prezzo minimo, D massimo ecc ecc), ma cambiano i valori ovviamente...
Oltre ai 500 fogli, ho altri 2 fogli:
"Start" che contiene la lista dei titoli (i nomi sono gli stessi dei nomi presenti sui fogli)
"Test" che contiene la stessa formattazione dei 500 fogli (quindi nella colonna A la data, nella colonna B il prezzo di apertura, C il prezzo minimo, D massimo ecc ecc).
Nel foglio Test, nelle colonne vuote voglio scrivere delle formule, per testare una mia strategia, e vorrei che la macro quando la faccio partire, prendesse tutte le colonne in un dato range, ad esempio dalla colonna G alla colonna Z (dove ho scritto le formule), e copiasse tutte le formule presenti in quelle colonne, dal foglio "Test" a tutti gli altri 500 fogli contenuti nella lista (che è presente nel foglio "Start").

Spero di essermi fatto capire...

Grazie mille a tutti per l'aiuto :)
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,216,131
Messages
6,129,066
Members
449,485
Latest member
greggy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top