Avatar of Dustin Stanley
Dustin Stanley

asked on 

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

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" _
etc........

About 6 lines on Contionous Code.

I just need the text file to contain this code.

Thanks.
VBAMicrosoft Access

Avatar of undefined
Last Comment
PatHartman

8/22/2022 - Mon