troubleshooting Question

MS Access VBA How to export string to a text document within VBA

Avatar of Dustin Stanley
Dustin Stanley asked on
Microsoft AccessVBA
14 Comments3 Solutions302 ViewsLast Modified:
If I have a Long String of say code 3000 characters or more longer how can I send that to a text document in VBA. The string code will actually be in the VBA module.

Code = "uahfiuaheuifgha;vghauivgh;iuehgfehfiaedghewgh" _
& "iuasfiuasfhasoieiedoiuesdsglueildsugilsudgileglisurlvgusli" _

About 6 lines on Contionous Code.

I just need the text file to contain this code.

Join our community to see this answer!
Unlock 3 Answers and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros