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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by DonyBoy

  1. DonyBoy

    List of folder names needs exported to Excel

    I have a folder that has 100s of subfolders. I want a list of all the folder names exported to a Excel column. so, my input should be the main folder path. My output should be the list of all the folder names written to a spreadsheet from Cell A1 downwords. any help will be appreciated
  2. DonyBoy

    SQL query for available books

    I have 2 tables for a library. Table1: has the book details with the book-number being the primary key Table2: has the details of borrowed books. This table also has the column book-number- linked to Table1, using the same column. I need to make an SQL query that gives the list of AVAILABLE...
  3. DonyBoy

    Repeating 'replace' function in a group of text files

    I don't even know how to 'open' a text file within Excel. I have used some VBA, but it's all within 1 excel sheet. The idea of opening an external file is beyond my knowledge.
  4. DonyBoy

    Repeating 'replace' function in a group of text files

    I have a folder full of text files. Each of these file has a phrase that needs replacing by another phrase (same phrase for each file).It will take me ages to open each of these text files and do a replace function. Is there a way to create an excel file with macro set up such that 1) in Column...
  5. DonyBoy

    Reading off intercession point

    I need an acurate way of reading off an intersection point from a chart (intersection between 2 curves). Is there way of reading off the X and Y co-ordinates of the intersection as you hover the curser over the intersection point. (it is impossible to solve the 2 equations analytically)Has...
  6. DonyBoy

    Finding intersection point in an Excel chart

    I need an acurate way of reading off an intersection point from a chart (intersection between 2 curves). Is there way of reading off the X and Y co-ordinates of the intersection as you hover the curser over the intersection point. (it is impossible to solve the 2 equations analytically)Has...
  7. DonyBoy

    seeing first 20 lines in a large text file

    I have an incredibly large text files that take ages to open. All I'm interested in seeing is the first 20 lines of each of these text files. Is there are clever way of seeing the first 20 lines, without having to open the entire file- in VBA?
  8. DonyBoy

    Row index in a column that has no data below

    Thanks very much...that was most helpful..
  9. DonyBoy

    Row index in a column that has no data below

    I’m reading the last row in a sheet called “GANT”, but this function is actually called within worksheet_change event of a DIFFERENT sheet- Sheet2. The cose is counting the last row in Sheet2 and not GANT. Please see the code below. ----------------- Private Sub Worksheet_Change(ByVal Target...
  10. DonyBoy

    Row index in a column that has no data below

    actually the above method does give incorrect answers soemtimes. I'm not blamming your code.. most probably i'm doing somethign stupid...soem help will be appreciated...
  11. DonyBoy

    Row index in a column that has no data below

    sorry, i was being stupid... it's just mRow isn't it..sorry again
  12. DonyBoy

    Row index in a column that has no data below

    thanks. i tried using this code that I found in the FAQ section Sub FindLastCell() Dim lRow As Long, lCol As Integer, mRow As Long, mCol As Integer lCol = ActiveSheet.UsedRange.Columns.Count mRow = 0 For i = 1 To lCol lRow = Range(Cells(Rows.Count, i), Cells(Rows.Count, i)).End(xlUp).Row...
  13. DonyBoy

    Row index in a column that has no data below

    is there a way to find the last cell in, say, Column B. The thing is, column B has some empty cells here and there. I want to be able to extract the row-index (eg, 17th row) that has no data whatsoever below it

Part and Inventory Search

Back
Top