Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Switch to Access

Hi

I need to give access the focus from excel but i also need
to load a form, that is not in the startup properties of
access.
I can do this with hyperlinks but am wondering if there is
a nicer way to do this.

Thanks
Stuart.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 179
Default Switch to Access

Stuart

Another way is to automate Access. Here's an example - you need to set a
reference (Tools - References) to the Microsoft Access x.x Object Library.

Dim AcApp As Access.Application

Sub ShowAccFrm()

Set AcApp = New Access.Application

AcApp.Visible = True

AcApp.OpenCurrentDatabase "C:\Dick\db1.mdb"

AcApp.DoCmd.OpenForm "Form1"

End Sub

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Stuart" wrote in message
...
Hi

I need to give access the focus from excel but i also need
to load a form, that is not in the startup properties of
access.
I can do this with hyperlinks but am wondering if there is
a nicer way to do this.

Thanks
Stuart.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch First and Last Names Karen Excel Worksheet Functions 3 February 4th 10 07:40 PM
Query from Access into Excel cause Access to go to read only T Stephens Excel Discussion (Misc queries) 0 March 24th 09 04:17 PM
How do I switch from one worksheet to the next without using the . Switching from one Worksheet to the next Excel Worksheet Functions 2 October 31st 07 04:39 PM
Access Form In An Access Report (SubForm) Question Gary Links and Linking in Excel 0 January 27th 06 05:54 AM
Can You Switch Rows Jay Excel Discussion (Misc queries) 2 December 3rd 05 06:52 PM


All times are GMT +1. The time now is 06:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"