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: *

  1. richand1

    Loop through worksheet hyperlinks and save files in a different location

    Sorry! The reference for that line should be K:K, but yes, that is the intention. J:J is where the file location is stored. K:K is where the new save location is stored. But they are all on the same sheet: "File Directory". Thank you, Skip.
  2. richand1

    Loop through worksheet hyperlinks and save files in a different location

    Thanks for that, Skip, although with the below code I can get the first file to open (I had to remove the table references as I couldn't get them to work): For Each hlink In ThisWorkbook.Sheets("FileDirectory").Range("J:J").Hyperlinks With Workbooks.Open(hlink.Address) .SaveAs...
  3. richand1

    Loop through worksheet hyperlinks and save files in a different location

    Skip, the code you provided throws an error. I get the following: On line: With Workbooks.Open(r.Address) The cell reference in the error dialogue (if you'll consult the picture I provided you(!)) is the correct reference of where the first file location is stored. I'm guessing the error...
  4. richand1

    Loop through worksheet hyperlinks and save files in a different location

    Thanks again, Skip. As long I've made someone feel fuzzy and warm, it's been a good day! I'll try this tomorrow. Rich
  5. richand1

    Loop through worksheet hyperlinks and save files in a different location

    Hi, I have some code which loops through a given folder and deposits filenames and their locations among other details into a table on a worksheet: I have some code that then loops through the Hyperlinks in the "File Link" field/column and saves these files to a static location within the...
  6. richand1

    Loop through a table range and evaluate specific columns

    Thank you, Skip. I see what you're saying and it makes absolutely sense.
  7. richand1

    Loop through a table range and evaluate specific columns

    Skip, As always, thank you very much for your excellent response - this works flawlessly. Thank you, Rich
  8. richand1

    Loop through a table range and evaluate specific columns

    Hi all, I've found many things like what I want, but nothing that gives me it exactly. I've been trying to get this right for 2 days now.... I have an Excel table, "ActionPlan", which starts at cell B101. The table can be variable length and forms a template which many colleagues will take and...
  9. richand1

    Runtime Error 2147467259 - not a valid path

    I figured it out. In my database, I had some linked tables which weren't using the UNC of the files they were linking to. The solution, for future solution-seekers, was to open Linked Table Manager and, instead of using any network shortcuts to browse to the files in the New Location dialog...
  10. richand1

    Runtime Error 2147467259 - not a valid path

    Hi guys, thanks for replies so far. Combo: sorry, that was a mistype, it should be a backslash. DjangMan: Still no dice unfortunately; I get the same error when I replace my code with that line.
  11. richand1

    Runtime Error 2147467259 - not a valid path

    Hi, I have scoured the internet for the last few hours looking for solutions to this and, while I have found a lot of information around this error, I have found nothing that seems to relate to my specific issue. When I run the below code (which I have not written myself, I have pieced it...
  12. richand1

    Printing Excel files embedded in Excel

    Thanks Skip. I'll have a go and let you know how I get on. Rich
  13. richand1

    Printing Excel files embedded in Excel

    Hi all, I have searched and searched for a solution to this but I can't seem to find one anywhere. I want to be able to embed any number of Excel files into an Excel worksheet and have the code run through each object, open it, print it and then close the object again. Sounds simples, but I...
  14. richand1

    Problems with DAO 3.6 Library

    Ah. Combo, thanks very much for this. When you said to search for projects containing "Database" I didn't take into account the "DAOTest" module itself. So, I removed the "DAOTest" module, added in the DAO 3.6 reference to the library, copied the "DAOTest" module back into Personal and it...
  15. richand1

    Problems with DAO 3.6 Library

    Thanks Geoff. I have: So, exactly the same references as the other workbook less the DAO reference, but of course it won't let me add the reference.
  16. richand1

    Problems with DAO 3.6 Library

    Thanks combo, but I haven't got any modules or projects named "Database". I'm not sure I understand what you have said about adding references alongwith copying the code. Can you elaborate please?
  17. richand1

    Problems with DAO 3.6 Library

    Hello all, I have a problem that goes something like this: I have created a workbook wherein I have this module saved: Sub DAOTest() Dim db As Database Dim rs As Recordset Dim intColIndex As Integer Dim mydb As String Dim FieldName As String Dim MyCriteria As String Dim TableName As String...
  18. richand1

    Access select query results into Excel

    Legend. Thanks Skip. [thumbsup2]
  19. richand1

    Access select query results into Excel

    Hi Skip. I hope you're well. With your "MakeList" function, would you be able to tell me how to alter it to include - in the "SomeRange" reference element - the worksheet name that the criteria range resides in? Do you even think that this is worth it? Thanks a lot. Rich
  20. richand1

    Access select query results into Excel

    A SPACE???!!! Oh. My. God. I'm officially an idiot. Skip's given up and gone home ;-) Thank you both very much. Votes for you both are pending... R

Part and Inventory Search

Back
Top