M
morry
Hello
I am not real good with VBA in Access so I was hoping someone coul
tell me how to write the code for this
I have an Access Form that is used as a data entry form by customers.
I have a field that is an auto number field. I have a button on m
Access Form that is a hyperlink to an Excel document (the document i
not embedded in Access). I need to export the current value in th
auto number field to a cell in the Excel document. I want to put th
code into the button so when it is clicked that auto number will b
exported
I tested it with the export function in Access and I can do i
manually but I am not sure how to write the code for it
The way I did it manually is:
I had the form open and typed values into the first few text boxes.
This populated the Auto number box with a new value. Then I went t
FILE --> EXPORT. I change the "Save as Type" to Microsoft Exce
97-2003. Then I clicked Export All. This saved a Excel spreadshee
to My Documents with the same name as the form. All of th
information that I had typed into the form before exporting was save
in the Excel document
Can anyone tell me how to write the code to do this
Thanks
Morr
I am not real good with VBA in Access so I was hoping someone coul
tell me how to write the code for this
I have an Access Form that is used as a data entry form by customers.
I have a field that is an auto number field. I have a button on m
Access Form that is a hyperlink to an Excel document (the document i
not embedded in Access). I need to export the current value in th
auto number field to a cell in the Excel document. I want to put th
code into the button so when it is clicked that auto number will b
exported
I tested it with the export function in Access and I can do i
manually but I am not sure how to write the code for it
The way I did it manually is:
I had the form open and typed values into the first few text boxes.
This populated the Auto number box with a new value. Then I went t
FILE --> EXPORT. I change the "Save as Type" to Microsoft Exce
97-2003. Then I clicked Export All. This saved a Excel spreadshee
to My Documents with the same name as the form. All of th
information that I had typed into the form before exporting was save
in the Excel document
Can anyone tell me how to write the code to do this
Thanks
Morr