E
excel_hari
Hi,
Im doing some lookup kind of operation by exporting 2 excel files in to
access and then after lookup, the results (from a query) are exported
as excel fle. All this has been dne within VBA.
I dont want my user to press alt + F11 and then run the selected
module/macro. I want to know as to whether I can offer user a button in
the data base itself whereby as soon as it opens the user can click on
it and generate the output in excel. :-
a) Presently I had to make a form in which I created a command button
with underlying code calling up my Lookup module/macro. It works
perfectly. But, I dont like this method as user would have to first
cick on the form and then press the button. In excel one could keep the
button on the worksheet. In Access how does it work. Cant we have a
button in the white space when a new DB is opened or in the gray space
where the objects are listed on the left hand pane. (The command button
Toolbox is greyed out in these cases).
b) Also, in situation like mine, is it more "appropriate" to create
command button in a FORM or witin a REPORT (I see that I have command
buttons available even within Report). I havent worked with databases
in a formal environment.
Regards,
HP
India
Im doing some lookup kind of operation by exporting 2 excel files in to
access and then after lookup, the results (from a query) are exported
as excel fle. All this has been dne within VBA.
I dont want my user to press alt + F11 and then run the selected
module/macro. I want to know as to whether I can offer user a button in
the data base itself whereby as soon as it opens the user can click on
it and generate the output in excel. :-
a) Presently I had to make a form in which I created a command button
with underlying code calling up my Lookup module/macro. It works
perfectly. But, I dont like this method as user would have to first
cick on the form and then press the button. In excel one could keep the
button on the worksheet. In Access how does it work. Cant we have a
button in the white space when a new DB is opened or in the gray space
where the objects are listed on the left hand pane. (The command button
Toolbox is greyed out in these cases).
b) Also, in situation like mine, is it more "appropriate" to create
command button in a FORM or witin a REPORT (I see that I have command
buttons available even within Report). I havent worked with databases
in a formal environment.
Regards,
HP
India