Nothing special,
Private Sub workbook_open()
Run "Macro1"
End Sub
but if i just open the excel file it doesn't close, it only does it when i use the Access button.
Cheers,
Hi,
i have a button in access that runs a macro to ouput to excel, i have also written into the same button code to open a second excel file.
The second excel file has code written into it to run a macro on open and is linked to the download file.
The problem i have is that when the macro...
I am trying to add it into an existing button that executes a macro, i am new to VBA so am not sure what kind of code would be required, all i have tried to use so far are docmd functions.
i assumed that i would put in the function followed by the filepath, probably a bit naive...
Hi,
I am attempting to write code into a button that will open an existing excel file that i have created.
i can output data to a file but cannot seem to just open it?
Any idea's?
Many thanks,
Thanks for your reply Phil,
No I don't have a date feild just 12 individual month fields and a Business area field.
i don't know that i am organising this correctly but i need to find a way of selecteing the month field from criteria in a combo box
Hi,
I am fairly new to access (about 6 months of on/off usage) and i am having some trouble with a table, i have a table which lists budgets for different area's and shows month by month data.
the problem i have is i need to run a query that will return the budget for a given month using a...
Hi,
I am fairly new to access (about 6 months of on/off usage) and i am having some trouble with a table, i have a table which lists budgets for different area's and shows month by month data.
the problem i have is i need to run a query that will return the budget for a given month using a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.