Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jcw5107
  • Order by date
  1. jcw5107

    Text File Manipulation/Restructure

    JerryKlmns, Hey thanks..!! I have learned so much from you guys over the past few years..!! Absolutely amazing what I'm doin' with data where I work. We have been able to view our data in ways have never thought due to the things I have learned from Tek-Tips.. Awesome..!!!! jcw5107
  2. jcw5107

    Text File Manipulation/Restructure

    JerryKlmns, That did the trick..!! Thank you...!!! Star for ya..!!! Thanks..!! jcw5107
  3. jcw5107

    Text File Manipulation/Restructure

    JerryKlmns, Something like this.... Sub test() Dim intFileIn As Integer, intFileOut As Integer Dim strReadBuffer As String, strWriteBuffer intFileIn = FreeFile Open "D:\UPSDATA\OOSReport.txt" For Input As #1 intFileOut = FreeFile Open "D:\UPSDATA\OOSReport1.txt" For Output As #2 Do While Not...
  4. jcw5107

    Text File Manipulation/Restructure

    Hey now...!! I have a text file that is formatted like this: 00 120 SDF 1)Fuel pump inop 2)#2 Hyd pump leak 30 250 ONT 1)#2 Main wheel cut I'm tryin' re-format the file to look like this: 00 120 SDF 1)Fuel pump inop 00 120 SDF 2)#2 Hyd pump leak 30...
  5. jcw5107

    Text File re-format - skips last line

    JerryKlmns, Thank you so much...!! That was what I was lookin' for..!! Star for you..!! jcw5107
  6. jcw5107

    Text File re-format - skips last line

    genomon, I am tryin' to grasp what your tellin' me but I'm hung up..!!! The text file looks like this: E Test ECAM message S Remove and replace the computer P Install EADI I want it to look like: E Test ECAM message S Remove and replace the computer P Install EADI Every single line that...
  7. jcw5107

    Text File re-format - skips last line

    I am working with some code that - for some reason - it skips that last line in the text file...?? I just can't figure it out.... Below is what I am working with... Can anybody help me out with some suggestions or examples..?? Thanks in advance..!! jcw5107 Dim intFileIn As Integer, intFileOut...
  8. jcw5107

    Search for StrikeThrough in Excel

    Ok - Column B is a date. Column C is a "status", usually a code to note that the item is new("N"), updated ("U"), or blank if nothing has changed. So when I input the function ( =If(IsStrikeThru(B2),"UC","") ) in C2, and then dran-n-drop all the way down to the bottom of the spreadsheet -...
  9. jcw5107

    Search for StrikeThrough in Excel

    SkipVought, Ok - I getchya..!! This whole thing we are doing start in Excel, then we import it into Access. The spreadsheet needs some serious reformatting before it imported. Thats why I'm tryin' to speed things up with some automation or something... One last question.. In your example of...
  10. jcw5107

    Search for StrikeThrough in Excel

    Ok - I'm gettin' somewhere..!! Thanks for your help & patience on this...!!! Is there a way to "automate" all this...?? I guess what I'm gonna do is create an Excel template, Paste a bunch of data into the spreadsheet, and click a command button that runs all that you just helped me with. Any...
  11. jcw5107

    Search for StrikeThrough in Excel

    SkipVought, I'm am tryin' so hard to take your example(s) and implement into my spreadsheet... I'm just jammed up...!!! Haven't done much "VB'n" in Excel...!!! (gotta throw my disclaimer out there....) Is there any way you can hold my hand on this one - a little bit...???? Is your examples...
  12. jcw5107

    Search for StrikeThrough in Excel

    Oh man... I'm sorry....!!! Below is what I have come up with... Semi-sorta in the ballpark I guess.... Sub Macro4() Columns("B:B").Select With Selection.Font If .Strikethrough = True Then ActiveCell.FormulaR1C1 = "UC" End If End With End Sub
  13. jcw5107

    Search for StrikeThrough in Excel

    I need to be able to select a column (column B always), and for each cell that has a "strikethrough", update the cell in column C (next to the "striked-through" cell) to "UC".. I have tried building a macro with the recorder, but I am having trouble getting the code to update the very next cell...
  14. jcw5107

    Search for StrikeThrough in Excel

    SkipVought, I posted back in form707... I hope I did it right.... Look for "Search for StrikeThrough in Excel"... Thanks.. jcw5107
  15. jcw5107

    Search for StrikeThrough in Excel

    I need to be able to select a column (column B), and for each cell that has a "strikethrough", update the cell in column C (next to the "strikethrough" cell) to "UC".. Can't find anything posted regarding this... Thanks in advance...!! jcw5107
  16. jcw5107

    Using SubFrom Recordsetclone to delete records

    I have a form with a continuous subform. On the subform is a "checkbox" for each record. The checkbox is used to delete records from the subform. Also the checkbox is used to delete records from another table. I am tryin' to figure out how to use the recordsetclone property of the subform to...
  17. jcw5107

    Append Global Variables and Textbox Values to a table

    JerryKlmns, That was it...!! Again, if it was a snake - it would have bit me...!! It was right in front of me this whole time...!! Thanks for you help... The " (((IsSelectedVar('Documents','TaskNoList',[TaskNo]))=-1)) " part of the query comes from another piece of code from a sample database...
  18. jcw5107

    Append Global Variables and Textbox Values to a table

    I have a bit of code that I am working with that works with the items selected in a listbox. From there, I would like to add new part#s based on the items selected. This way I can assign 1 part# to several Task#s (if several are selected) at one time.... I am having "syntax" problems with the...
  19. jcw5107

    ListBox Column as Subform Recordsource

    Hey now...!! Alrighty then... I guess I have to go to plan "L"...!!! I think I found a work-around to simulate what it is I want to do.... On the main form - on the OnCurrent Event, a bit of code runs to select all items in the listbox, and then the subform requeries based on the selection...
  20. jcw5107

    ListBox Column as Subform Recordsource

    I have a form with a Listbox & subform on it. When scrolling thru the records on the main form, the listbox requeries to show right list with the main forms current record. On any given record the list box can have from 1 to 4 items shown. I need to have the subform requery based on a single...

Part and Inventory Search

Back
Top