Macro Question

C

carl

I have some data in ColA like this:

[Application]
Name=StatsWatch.exe
[DataWindow]
20066712812133=4
[20066712812133]
Sort=
SortCount=1
FilterNegation=0
Filter=
FilterCondition=
FilterCount=1
FilterConditionCount=1
HiddenColumns=
HiddenColumnsCount=1
ColumnOptionsCount=3
WindowTitle=Statistics Graph by Group: 21
WantedTotals=0
WantedList=GG;
WantedListCount=1
ActiveSelection=(GG,5,2,65535,0);(GG,5,8,32768,0);
ActiveSelectionCount=1
ShowLegend=0
ShowTimeLabels=1
TimeLabelDensity=2
ShowDataLabels=1
DataLabelDensity=2
GridBkgColor=0
GridPenColor=32768
GridCellSize=20
XAxisUpdateStep=5
GraphType=1
ShowCommonScale=1
ShowThreshold=0
ThresholdValue=0
ThresholdStaysOnTop=0
ShowFixedScale=0
FixedScaleValue=0

I also have a Target List like this in a different worksheet:


AB
SD
QF

Can a macro do the following:

Looking at these two lines from ColA above,

WantedList=GG;
ActiveSelection=(GG,5,2,65535,0);(GG,5,8,32768,0);

Replace Value GG with the first value in the Target List (AB), save a new
text file named (AB).txt, then add the file extension .CFG ? Then repeat for
the next value in the Target List (SD) and continue to do this until till the
end of the Target List ?

Thank you in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top