Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RunTextAsMacro: cannot create new item: text is too long
#6
Save the worksheet as tab-delimited text file "file1.txt" on desktop. This macro will get data from that file, and repeat for each line.

Code:
Copy      Help
str sf.getfile("$desktop$\file1.txt")
str s s1 s2 s3
foreach s sf
,tok s &s1 3 "[9]"
,key (s1) T (s2) T (s3)
,1
,key F9
,1
,key F9
,1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)