Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a macro

Status
Not open for further replies.

coolkake

Technical User
Apr 5, 2002
51
CA
How do I create a macro that will take the contents of a text file and paste it in to a field in a form? It's basically a template that will be used in certain situations only.

 
I don't think you can do this with a macro. I think you will need to use VBA. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
You could use TransferText to import it into a temp table, set the Specification to use it when needed. Then just set the text field on your form or report to that table OR use an update(or)append query to add the data to whereever you need it.

Does that make sense, it sounds kind of garbled??
 
It sounds like a very poor reason to not learn VBA. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Sorry dschomburg, it doesn't make sense. Does anyone know where I can find examples of this or a how to?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top