Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-07-2010, 07:34 AM
aubreylc aubreylc is offline Making a button to open an Access Dbase Windows 7 Making a button to open an Access Dbase Office 2007
Novice
Making a button to open an Access Dbase
 
Join Date: Apr 2010
Posts: 2
aubreylc is on a distinguished road
Default Making a button to open an Access Dbase

I made a button in my Outlook toolbar that will open an Access Dbase.The code works, but is there an alternative way to only open the file -any file for that matter- as apposed to first running the Access application and then pointing to the file I want, like the following VBA suggests?



Code:
Sub newmac()
Dim appAccess As Access.Application
Set appAccess = New Access.Application
appAccess.Visible = True
appAccess.Application.OpenCurrentDatabase ("T:\MaterialsManagement\VendorQA\RevisedORderIssues3_16_10.accdb")
 
End Sub
Reply With Quote
 

Tags
acccess, button, toolbar



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2007 Upgrade After Initial Install - Access 2003 Won't Remove wcb Office 1 01-25-2010 04:08 AM
Making a button to open an Access Dbase Help making a coupon mindy sue Office 1 01-23-2010 02:23 AM
Making many documents one shikaku Word 0 04-07-2008 07:12 AM
Making Forms I need help!! kellgirl Word 0 02-09-2006 02:54 PM
print vba button in access causes program crash de_la_espada Office 0 09-20-2005 04:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft