vba excel access array
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » VBA excel to access array

VBA excel to access array

resolvedResolved · Medium Priority · Version 2003

replyReply Wed 14 Jan 2009, 16:56Delegate Cameron said...

Cameron has attended:
Access VBA course
Access VBA course
Access Advanced course
Excel VBA Intro Intermediate course

VBA excel to access array

Hi

Ok so I'm at work and someone suddenly wants a spreadsheet to behave like a database.

We have a workbook with worksheets for months individual dates as column heads, company names for rows in the cells is the number of visitors brought by that company on that date.

Is there a simple way to pull all this info to an array (I'm guessing that it would have 3 dimensions) and then write the array to a table (or 2) in access?? if you need examples etc let me know.

Cameron

For upcoming training course dates see: Pricing & availability

replyReply Mon 9 Feb 2009, 13:03Delegate Cameron said...

RE: VBA excel to access array

This one is not a problem any more, I've produced some code which my people seem to be happy with. the code doesn't actually export it from excel but changes the data to a form which people can manipulate.

Is there a way to post code here which is not so messy as to just paste it in??

 

Please browse our web site to find out more about
access+training and other Microsoft training courses.

Access tip:

Copy a Previous Record's Values to a New Record

If you often enter the same value in one field of a table, there are two methods to save re-typing the data.

1. Use Ctrl+' (apostrophe) to repeat the value input in the previous record.

2. Change the field's DefaultValue property in Design View to the most commonly used value.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard