| | Post: 59 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 12:23 | |
Salve mi chiamo Fabrizio, intanto vi volevo ringraziare per tanti aiuti che ad oggi mi avete dato.!!!😁
Io ho excel 2019.
Io ho un problema che non capisco .
Se io in cella ad esempio "a1" scrivo "Ciao" e lo sottolineo oppure lo metto barrato.
e in cella "a2" digito =a1 ; mi sono accorto che excel mi scrive si in a2 Ciao, ma non vedo il testo barrato o sottolineato .
Secondo voi che problema c'è?
Mi pare che in passato funzionasse.
grazie in anticipo |
|
| | Post: 59 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 12:27 | |
Avrei la neccessita' di vedere il testo uguale di a1 che sia sottolineato o barrato in a2 . |
| | Post: 4.543 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
09/01/2021 12:47 | |
Con le formule non è possibile.
Va usato il VBA.
Alfredo |
| | Post: 60 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 12:55 | |
Grazie Alfredo, nel mio caso Specifico avrei la pagina "Prezzi" dove scivo il testo in b6:b1005 , e ho i collegamenti in "elenco prezzi" c2:c1001.
Io purtroppo non ho mai affrontato questo problema.
grazie |
| | Post: 61 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 12:55 | |
Quale codice vba dovrei usare? |
| | Post: 62 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 12:56 | |
E' un bel gratta capo..😀 |
| | Post: 4.544 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
09/01/2021 16:01 | |
Fai le operazioni manualmente registrando una macro ed avrai il codice eventualmente da rivedere.
Ripeto con le formule non è possibile farlo.
Alfredo |
| | Post: 63 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 16:25 | |
Ciao Il codice mi restituisce la copia come chiedo, pero' il tutto dovrebbe farlo in automatico magari quando una cella da b6:b1005 viene modificata.
Cosa dici?
Sub Macro1()
'
' Macro1 Macro
'
Sheets("prezzi").Select
Range("B6:B1005").Select
Selection.Copy
Sheets("Elenco prezzi").Select
Range("C2").Select
ActiveSheet.Paste
Application.CutCopyMode = False
End Sub
|
| | Post: 64 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 16:26 | |
grazie Alfredo!!👍 |
| | Post: 4.545 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
09/01/2021 16:35 | |
Prova con questa macro da inserire nel modulo del foglio interessato
vb Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("B:B")) Is Nothing Then
Range("B6:B1005").Copy Destination:=Range("c6")
End If
End Sub
Scrivendo qualcosa sottolinaeto in colonna B verrà automaticamente riportato (sulla stessa riga) in colonna C. [Modificato da alfrimpa 09/01/2021 16:37]
Alfredo |
| | Post: 65 | Registrato il: 04/03/2017
| Città: MILANO | Età: 44 | Utente Junior | 2010 | | OFFLINE | |
|
09/01/2021 17:09 | |
Ciao Alfredo funziona alla Grande!! Grazie
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("B:B")) Is Nothing Then
Range("B6:B1005").Copy Destination:=Worksheets("elenco prezzi").Range("c2")
End If
End Sub
|
|
|