Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    [Access]Aprire file word

    Salve a tutti,
    qualcuno può aiutarmi a risolvere questo problemino?...

    Da un db d access devo aprire un dfeterminato file (esistente) in word al verificarsi d un evento...che codice devo mettere?
    Grazie

    VaneX

  2. #2
    Utente di HTML.it L'avatar di Corwin
    Registrato dal
    Jan 2002
    Messaggi
    584
    Set Word = CreateObject("Word.Application")
    Word.Visible = True
    Word.Documents.Open ("Percorso completo al file")
    I don't wanna have to shout it out / I don't want my hair to fall out
    I don't wanna be filled with doubt / I don't wanna be a good boy scout
    I don't wanna have to learn to count / I don't wanna have the biggest amount
    I don't wanna grow up

  3. #3
    Grazie mille!
    E se invece volessi stamparlo dopo averlo aperto e chiderlo?
    Scusa ma d vb so molto poco (il giusto per access!).

    Grazie

  4. #4
    Utente di HTML.it L'avatar di Corwin
    Registrato dal
    Jan 2002
    Messaggi
    584
    Set Word = CreateObject("Word.Application")
    Word.Visible = True
    Set Doc = Word.Documents.Open("FILE")
    Doc.PrintOut
    Doc.Close
    Set Doc = Nothing
    Set Word = Nothing
    I don't wanna have to shout it out / I don't want my hair to fall out
    I don't wanna be filled with doubt / I don't wanna be a good boy scout
    I don't wanna have to learn to count / I don't wanna have the biggest amount
    I don't wanna grow up

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.