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

I am developing Excel worksheets that are subsequently
imported into Access tables. A typical worksheet is
entitled "Request for Information," and requires the user
to input a unique number, such as 1. The cell is
formatted to display "RFI_001", which corresponds to the
key field in the table.
The user must know what the next available number is in
the table. I'd like to create a command button on the
Excel form that includes a macro that does the following:
1. Opens Access.
2. Opens the database.
3. Opens the appropriate table.
4. Finds and reports back the next available number.

Note:
The importing process, as first set up in Excel with
ranges, etc., and then completed manually within Access,
works well enough, although perhaps not very elegant. For
now, I just want the user to know what the next available
number is without thrashing about to find it.

Thanks

John





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
Checking/amending the external source link to an Access table Simka Excel Discussion (Misc queries) 1 April 8th 09 12:06 PM
How to make the Embedded Excel file link to the table of Access Anakin Links and Linking in Excel 1 March 18th 08 07:28 AM
Link an excel sheet to access table with pics The Greek Excel Discussion (Misc queries) 2 January 3rd 08 01:01 PM
Pivot Table - ODBC Link to Access db Kirk P. Excel Discussion (Misc queries) 2 February 22nd 07 08:19 PM
Link Access table to Excel worksheet dalesrunner Excel Discussion (Misc queries) 1 March 28th 05 12:09 AM


All times are GMT +1. The time now is 09:30 AM.

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"