|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
Excel interchanging data with access
Hey
I have excel book with many sheets I need to import from to create access tables, the book being an unchangeable form. Mostly. I was planning to create macro for importing the data shellwise. But how can I check that I'm getting it from the correct row (in case someone has inserted another row)? For that I should check the content of the first cell of the row to see it has the correct value in it (for example 1.1.4 or 2.1). How should I do that? Would it then be better to implement the importing some other way than macro? (Note that this is the first time I'm creating db) Another puzzle... I have to create function chart, not barchart. How can I do that in access? I wondered if I really have to get the data back in excel. Is there a possibility to create goodlooking charts in msa whereas I might not have the possibility to even use pivot tables. Or, if I export data, can I control excel right the same way to create specific type of graph in an instant? Thank you very much for your brainwork In addition: I'd be glad if I could write the control into code resemblling following (found at mvps.org) DoCmd.TransferSpreadsheet transfertype:=acImport, SpreadsheetType:=5, _ tablename:="tmpTableName", FileName:="SomeExcelFile", _ Hasfieldnames:=False, Range:="WorkSheet!B1:B11" 'This will import the range B1 through B11 'The Spreadsheet type = 5 specifies an Excel 5.0/7.0 file 'format Last edited by biaz : March 6th, 2003 at 03:57 AM. |
|
#2
|
|||
|
|||
|
Question
Can you link your spread sheet to a table in Access? If you do you could link your tables in access to the workbook and the data in your database would change when any changes in your work book accure.
|
|
#3
|
||||
|
||||
|
No can do, several different persons and locations will be handling this data, but reasonable suggestion otherwise
Probably will pass that one.... wouldnt want to write whole program to handle only one feat. IŽll have the questionable joy of restricting people whoŽll have to work with it...sigh. |
|
#4
|
|||
|
|||
|
As for macro programming to search through looking for results, you can use something like this
PHP Code:
Hope this helps you out - see next post for code to go through all worksheets in a workbook.
__________________
How can I soar like an eagle when I'm flying with turkey's? Last edited by mohecan : March 17th, 2003 at 10:45 PM. |
|
#5
|
|||
|
|||
|
Here's code to go through all worksheets in a workbook.
PHP Code:
|
|
#6
|
||||
|
||||
|
Thank you very much. This I will definetly try out.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Excel interchanging data with access |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|