Maxine1010
Registered User.
- Local time
- Today, 02:48
- Joined
- Jun 28, 2002
- Messages
- 25
Hi,
I need a point in the right direction, if anyone can help.
I am importing data from Excel via a command button to an Access table. The majority of the data transfers fine except the last 2 columns are missing.
These columns generally do not contain much data and so I think this is the reason for them being dismissed. I have added text to some of the cells and then transferred the data and this works but otherwise Access doesn't want to know.
I also have the added problem that the import process is performed via a command button with an event procedure reading:
Private Sub Command66_Click()
prompt$ = "YOU ARE ABOUT TO IMPORT DATA - DO YOU WISH TO PROCEED?"
response = MsgBox(prompt$, vbYesNo, "Data Import")
If response = vbNo Then Exit Sub
datevar = Date - 1
Call import(datevar)
MsgBox "FILES IMPORTED"
End Sub
I don't know much VB at all so I don't even know where to start if the problem lies within this.
Any help would be much appreciated! Thanks
I need a point in the right direction, if anyone can help.
I am importing data from Excel via a command button to an Access table. The majority of the data transfers fine except the last 2 columns are missing.
These columns generally do not contain much data and so I think this is the reason for them being dismissed. I have added text to some of the cells and then transferred the data and this works but otherwise Access doesn't want to know.
I also have the added problem that the import process is performed via a command button with an event procedure reading:
Private Sub Command66_Click()
prompt$ = "YOU ARE ABOUT TO IMPORT DATA - DO YOU WISH TO PROCEED?"
response = MsgBox(prompt$, vbYesNo, "Data Import")
If response = vbNo Then Exit Sub
datevar = Date - 1
Call import(datevar)
MsgBox "FILES IMPORTED"
End Sub
I don't know much VB at all so I don't even know where to start if the problem lies within this.
Any help would be much appreciated! Thanks