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

    [vb6] Scrivere dentro Excel

    Salve a tutti, dovrei scrivere con VB dentro una cella Excel, è possibile?
    Questa cella cambia giorno per giorno, ma so dove andare a scrivere.
    Ed è possibile anche estrarre un valore, sempre da una cella excel (questa contiene una formula). Questa invece è fissa.

    Grazie 1000

  2. #2
    certo certosino ...
    Usa MDAC 2.7 o 2.8 e questa connString
    codice:
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1""" 
    "HDR=Yes;" indicates that the first row contains columnnames, not data
    "IMEX=1;" tells the driver to always read "intermixed" data columns as text
    TIP! SQL syntax: "SELECT * FROM [sheet1$]" - i.e. worksheet name followed by a "$" and wrapped in "[" "]" brackets
    Da li fai todos


  3. #3
    Utente di HTML.it
    Registrato dal
    Feb 2003
    Messaggi
    245
    nel forum ho trovato questo...( ed è quello che uso ) ma ti lascia solo leggere i dati... non ti lascia aggiungere o correggere !!!
    qualcuno ha qualche idea....

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.