importing data using macro
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and Help » Importing data using macro buttons

Importing data using macro buttons

The UK's most regular instructor-led training courses.
Training information: course excel training vba london · Excel course · VBA training in London

· Low Priority · Version Standard

Importing data using macro buttons

Sarah has attended:
Excel VBA course

by - delegate Sarah [5 posts] (2008 Mar 5 Wed, 15:54) replyReply

What is the best way to import data from a comma separated file on the computer hard drive into an Excel spreadsheet, using a macro button embedded within the spreadsheet?

Excel VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003/XP 2008 Jul 17 Thu + 18 Fri Bloomsbury 3 book now £475 £495
2003/XP 2008 Jul 30 Wed + 31 Thu Bayswater 5 book now £450 £485
2003/XP 2008 Aug 7 Thu + 8 Fri Bloomsbury 6 book now £450 £485
2003/XP 2008 Aug 14 Thu + 15 Fri Bloomsbury 5 book now £450 £485
2003/XP 2008 Aug 26 Tue + 27 Wed Bayswater 6 book now £450 £485
2003/XP 2008 Sep 8 Mon + 9 Tue Bayswater 7 book now £345 £399
Full Schedule: See all 48 Excel VBA course dates.
Bookings currently available until 26th November 2009.

RE: importing data using macro buttons

by - delegate Samantha [21 posts] (2008 Mar 13 Thu, 12:44) replyReply

have you tried to record the coding when opening the comma separated file? once you see the coding, you can change the file name to a variable which can be stored somewhere within your spreadsheet? and then once you have stored the coding within a procedure, you can assign this to a "button" object?

just a thought, that is what i do in my macros when i want to open a comma separated file.


Related articles

· 5 Microsoft Excel Charts for Creating Stunning Business Documents
· Compare Different MS Excel Training Methods
· Prepare for your MOS Certification with MS Excel Courses
· Tools From Advanced Excel Courses: Goal Seek and Solver
· How to Create Better Excel Spreadsheets: Part One

Please browse our web site to find out more about
course excel training vba london and other Microsoft training courses.

Excel tip:

Go to source of a cell

The default setting in Excel is when you double click in a cell it actives the formula in the cell. If you have created a link and want to directly go to that link (say if on another sheet, click on Tools -options and take off the tick for eidt it directly in cell

View all Excel hints and tips

Institute of IT Training - Accredited Training Provider Institute of IT Training - Accredited Training Provider Prodigy Platinum Learning Partner Microsoft Office Specialist Authorised Testing Centre

Microsoft Registered Partner
microsoft office
ms office project server

Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz