Una famiglia di prodotti software per l'elaborazione di testo Microsoft per la creazione di documenti Web, messaggi di posta elettronica e stampa.
Grazie della risposta, mi hai dato uno spunto, ma non riesco a farlo funzionare...
Ho questa macro all'apertura di word, che se si tratta di un determinato documento entra in funzione e setta alcuni parametri del documento stesso, che è quello dove salvo i nomi file completi di percorso.
Option Explicit
Private Sub Document_Open()
If ActiveDocument.Name Like "*nomefile*\*" Then
**ActiveDocument.TextEncoding = msoEncodingTurkish** ' QUESTA DOVREBBE ESSERE L'ISTRUZIONE PER LA CODIFICA DEL CARATTERE
' Qui poi setto i parametri del foglio word: Dimensioni e margini
With Selection.PageSetup
.LineNumbering.Active = False
.Orientation = wdOrientLandscape
.TopMargin = CentimetersToPoints(0.5)
.BottomMargin = CentimetersToPoints(0.5)
.LeftMargin = CentimetersToPoints(1.25)
.RightMargin = CentimetersToPoints(1.3)
.Gutter = CentimetersToPoints(0)
.HeaderDistance = CentimetersToPoints(1.25)
.FooterDistance = CentimetersToPoints(1.25)
.PageWidth = CentimetersToPoints(43.17)
.PageHeight = CentimetersToPoints(55.87)
.FirstPageTray = wdPrinterDefaultBin
.OtherPagesTray = wdPrinterDefaultBin
.SectionStart = wdSectionNewPage
.OddAndEvenPagesHeaderFooter = False
.DifferentFirstPageHeaderFooter = False
.VerticalAlignment = wdAlignVerticalTop
.SuppressEndnotes = False
.MirrorMargins = False
.TwoPagesOnOne = False
.BookFoldPrinting = False
.BookFoldRevPrinting = False
.BookFoldPrintingSheets = 1
.GutterPos = wdGutterPosLeft
End With
Perchè continua a ripresentare la finestra per la scelta della codifica?