Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 15th, 2012, 12:23 AM
Registered User
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy VBA Excel Help required - New User

How to get the data from the access database for the following scenario

User enters the date of joining of the employee in the A1 cell and When the user clicks the fetch button(Active X) the people who have the joining date similar should be populated in the excel sheet along with other employee details.
if not throw a message.

Please Help Me with the code...

Its urgent someone please help Me...
Old February 29th, 2012, 10:29 PM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts


You need to use ADO to fetch the data from Access Database. You can write the code in the Control's click event.

There are lot of ADO related code available for Access

C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)

Similar Threads
Thread Thread Starter Forum Replies Last Post
user prompt with multi-select in vba for Excel ecivgamer Excel VBA 0 November 1st, 2011 03:56 AM
Show Message Box and then fire as required answer by User. HG8YV2D ASP.NET 3.5 Professionals 3 February 22nd, 2010 09:19 AM
VBA Object required - RTE 424 dbrother Access VBA 2 November 2nd, 2007 04:06 PM
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
Excel VBA to SQL & back to VBA edesousa Excel VBA 1 June 1st, 2004 02:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.