Vyger
05-05-2010, 04:37 PM
My last experience with programming was many years ago back in Sinclair Spectrum days and BBC basic so please do not frown upon this very basic question.
I have a couple of needs that are going to be best served by programming.
1. The conditional edit of a large text file which will be based or various programmed rules. This is actually a .GED file as used in genealogy transfer but essentially a text file for editing purposes.
2. The creation of the same type of file from compiled data in Excel, I know the required gedcom rules so I need to read from Excel and write the required format intermingled with the Excel data.
I know the Excel option is fairly straightforward but in the Word example should I do this from within Word (VBA) or external to Word (VB), I can easily understand reading a file in line by line and writing modified output but want to get off on the right foot.
The reading of the .GED file in Word will be - read a line or sequence of lines, search for known patterns within the text and write modified lines if required some of which will be additional lines, I suppose report writing for want of a better word.
Thanks in advance for your patience.
Chris
I have a couple of needs that are going to be best served by programming.
1. The conditional edit of a large text file which will be based or various programmed rules. This is actually a .GED file as used in genealogy transfer but essentially a text file for editing purposes.
2. The creation of the same type of file from compiled data in Excel, I know the required gedcom rules so I need to read from Excel and write the required format intermingled with the Excel data.
I know the Excel option is fairly straightforward but in the Word example should I do this from within Word (VBA) or external to Word (VB), I can easily understand reading a file in line by line and writing modified output but want to get off on the right foot.
The reading of the .GED file in Word will be - read a line or sequence of lines, search for known patterns within the text and write modified lines if required some of which will be additional lines, I suppose report writing for want of a better word.
Thanks in advance for your patience.
Chris