1. Home
  2. Computing & Technology
  3. Visual Basic

VBA - Accessing Access

By Dan Mabbutt, About.com

9 of 10

Page 3 of the Code

Notice that the DoCmd.GoToRecord statement created by the Access wizard is now buried in code that reads the Word document. The statement that copies the Word text to the Access form textbox is:

~~~~~~~~~~~~~~~~~~~~~~~~~
Me.AboutText = Selection.Text
~~~~~~~~~~~~~~~~~~~~~~~~~

Explore Visual Basic
By Category
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic
  4. Learn VB 6
  5. Learn VBA
  6. VBA - Accessing Access

©2009 About.com, a part of The New York Times Company.

All rights reserved.