如何将数据从userform放到指定的单元格

时间:2015-11-12 18:08:54

标签: vba userform

我想将数据从我的用户表单传输到指定的Excel单元格。但似乎存在一些问题,因为我无法让它发挥作用。这是我的代码。任何帮助都会非常感激

   DatabaseHelper extends SQLiteOpenHelper {

  @Override
    public void onCreate(SQLiteDatabase db) {
      db.execSQL(//Create your table first);
      --this will insert the master data when the table will be created for the first time 
   db.execSQL("INSERT INTO " + TABLE + " (" + COL1 + ", " + COL2 + "," + COL3 + "," + COL4 + "," + COL5 + ","+COL6+")" +
            " VALUES(VAL1,VAL2,VAL3,VAL4,VAL5,VAL6);");
    }

  @Override
   public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
   }
 }

enter image description here

0 个答案:

没有答案