Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This is my first attempt at programming Excel so please bear with me.
I have a sheet (Sheet3 named "Columns"). On this sheet there are three columns that I am interested in Table, CodeColumn, Column. Where ever the value in CodeColumn is not blank I want to form: SELECT "Column" FROM "Table" WHERE "Column" NOT IN (SELECT "Column" FROM "CodeColumn") The quoted names would be the values in the spread sheet. In the end I would end up with a text file that has the above formated text for each line that CodeColumn is not blank. Is this hard? First I am not sure how to specify the sheet, next I don't know how to iterate through each row in the sheet, and I am not sure how to output the data to a file (I would be happy with the lines in the clipboard if that was easiest). Thank you in advance for your help even if it is just to get me started. Kevin Burton |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open a print output sent to file | Excel Discussion (Misc queries) | |||
Cannot open file for output | Excel Programming | |||
CSV output file | Excel Programming | |||
VBA help to output a file | Excel Programming | |||
Trying to protect output file with Macro | Excel Programming |