I will attempt to clarify. Perhaps I am using incorrect terminology since I am a new user. I need to pre-process a file before loading into the database by getting the date from the filename and adding it to the end of every row. I was doing this after converting to csv but was exploring doing this in the Excel file using VisualCron's set col functionality as an exercise really to see what the Excel capabilities are and to get used to using VisualCron.
The files are a fixed number of columns that look something like this:
I need them to end up looking like this, but the number of rows are different every run:
I need to add the date to column D, rows 1 through 4. It seems in VisualCron/Set col on the target tab, I need to state a specific cell to start with. Since in this case I know the set number of columns I could start with "D1" but I would rather keep it generic by stating logically somehow "the last used cell in row1 + 1" as my starting cell.
Then, on the source tab I would have to put: 1/5/2017,1/5/2017,1/5/2017,1/5/2017 and set the line break to "comma". Since the number of rows is unknown though I cannot do this. I need to get the number of rows (get rows?) and loop to build a string maybe and use that in the source tab (depending on the number of rows this could get huge)? I really just need to repeat my value for the number of rows. I looked through the various functions available but there was no way to loop to build a string (too dangerous I suspect!).
Any ideas? Like I said, I am exploring to see what is possible.
Thanks for your time,
Gary