![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Hello
does anyone know how to use VBA to conver one formate of database to another formate of database when it is loaded? Please HELP!!! Thank you |
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
In Access can't you use Macro > TransferDatabase and then choose the format that you require and export.
Then do the same again but use Import. I don't know much about access.
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
I don't know very much about access either. I am using excel, but when I go to macro I can't find transferdatabase there.
Is Access the only place where I can do that? |
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
Yes, its under macros in Access.
Macros in Access are tottally diferent to Macros in Excel. You can still write code in Modules though. The Macros in Access are made up from pre determined procedures that you link together. You should see when you look. Good Luck
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thank you Gary for the information
Also, do you know how to write the code in module or the procedure of coding in module to do the formating in excel by any chance? I just learned how to use VBA 3 days ago. Thanks again |
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
Do you mean file formats or general formatting?
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
#7 |
|
Guest
Posts: n/a
|
I am trying to do a data formating. For example if I have a data
Color Taste 3 4 5 6 can I change its format to Color 3 5 Taste 4 6 |
|
|
|
#8 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Try this (If you want you can record a macro to do the steps).
Now, you can stop the macro. I think that will help. _________________ Regards, Juan Pablo G. MrExcel.com Consulting [ This Message was edited by: Juan Pablo G. on 2002-02-28 23:17 ] |
|
|
|
|
|
#9 |
|
Guest
Posts: n/a
|
Thank you so much for helping
so, once I have recorded the macro, how can I set up the macro. So when the file to be formated can run the macro automatically when the file is loaded to the excel? |
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|