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


If I have entered data in a cell and I want to access data from an
Access MDB file to fill the dropdown of another cell how can I do so?

Can any one help me with this?


--
vinbad
------------------------------------------------------------------------
vinbad's Profile: http://www.excelforum.com/member.php...o&userid=24865
View this thread: http://www.excelforum.com/showthread...hreadid=384070

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Access to Office

Hi Vinbad,

If I'm understanding your request correctly, one way to achieve what I
*think* it is that you're trying to achieve might be ...

1. Create a single column QueryTable that will retrieve your data from the
Access dB. (Data - Import External Data - New Database Query).
2. Ensure that the .RefreshOnFileOpen property is checked/set to "true".
(You might also consider locating your QueryTable and results on a hidden
sheet).
3. Carefully name the QueryTable (which will also be the result range name)
and remember the name. (For example: rngList).
4. Select the cell on the worksheet where you want the dropdown.
5. From the Excel Data menu choose Validation...
6. On the Settings tab, from the Allow dropdown choose 'List'.
7. In the Source textbox type the name of the range containing your dropdown
list values as per 3. above and proceeded by =. (e.g. =rngList).
8. Click on OK and that should be it!

(Of course, this can all be done programatically using VBA, but its a little
more involved and may not be necessary - again, depends on your purpose).

Let me know how you get on and HTH, Sean.

"vinbad" wrote:


If I have entered data in a cell and I want to access data from an
Access MDB file to fill the dropdown of another cell how can I do so?

Can any one help me with this?


--
vinbad
------------------------------------------------------------------------
vinbad's Profile: http://www.excelforum.com/member.php...o&userid=24865
View this thread: http://www.excelforum.com/showthread...hreadid=384070


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
Excel cannot access 'office' J_Doug Excel Discussion (Misc queries) 0 February 13th 10 05:11 PM
Can anyone show me how to access the Office Online Help? Samuel Excel Discussion (Misc queries) 0 September 30th 06 02:19 PM
Unable to access the Office Online Web site in Office 2003, Excel Marcy S Excel Discussion (Misc queries) 2 March 21st 06 09:56 PM
What replaces the Office 2000 add-in "Access Form" in Office 2003 TonyO Excel Discussion (Misc queries) 0 January 21st 06 07:01 AM


All times are GMT +1. The time now is 03:53 PM.

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

About Us

"It's about Microsoft Excel"