To start viewing messages, select the forum that you want to visit from the selection below. It's a 6 digit identification number. Reply With Quote Nov 27th, 1999,05:20 PM #4 Quadrex View Profile View Forum Posts Visit Homepage Junior Member Join Date Nov 1999 Posts 26 Maybe you need to close the file Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? http://codecove.net/microsoft-visual/microsoft-visual-basic-runtime-error-537.html
I would try to re-install the visual basic runtime files. Also I have not encountered path's too long / too deep causing an error. –Alex Aug 5 '14 at 20:03 | show 1 more comment up vote 0 down vote accepted Thank you! Result: This brings up the Templates and Add‐ins screen.
Generated Wed, 19 Oct 2016 03:25:09 GMT by s_ac5 (squid/3.5.20) Register Help Remember Me? Portal Forum FAQ Calendar Forum Actions Mark Forums Read Quick Links View Site Leaders Knowledgebase Articles Reply With Quote Nov 25th, 1999,07:58 PM #3 OlgaV View Profile View Forum Posts Thread Starter Junior Member Join Date Jan 1999 Location Scarsdale, NY Posts 26 Nope, that didn't work. This is how video conferencing should work! The error box is returning the first filename –Geoff Lentsch Aug 5 '14 at 19:25 @guy you sure the first time works?
Run-Time Error 5174 within the Excel Questions forums, part of the Question Forums category; Hello all, I have been reading this forum for years and have found much helpful information, so anything you can see? Join & Ask a Question Need Help in Real-Time? Quite frustrating.
Like I said it will run if I add a .doc file in the directory, and also if I don't use the Dir function, and add a file in the path, I'm not sure whether this is particular for VBA or not though. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! When to stop rolling a dice in a game where 6 loses everything Find first non-repetitive char in a string Why aren't there direct flights connecting Honolulu, Hawaii and London, UK?
Players Characters don't meet the fundamental requirements for campaign Can't a user change his session information to impersonate others? The time now is 08:55 AM. MSOfficeForums.com is not affiliated with Microsoft LinkBack LinkBack URL About LinkBacks Submit a request Sign in Information Mapping Help Center FS Pro 4.x Software Troubleshooting Error: Run-time error 5174 File I am sure this path exists though, I have copied it from Explorer. –Geoff Lentsch Aug 5 '14 at 19:46 Is it possible the path is too long?
Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free. http://www.vbforums.com/showthread.php?359-Error-5174-File-could-not-be-found Results 1 to 4 of 4 Thread: Error 5174 - File could not be found Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid sMyDir = "C:\weekly\" & "*.doc?" sDocName = Dir(sMyDir) While sDocName <> "" Documents.Open FileName:=sDocName, Visible:=False ' Does stuff sDocName = Dir() vba ms-word share|improve this question asked Aug 5 '14 at Cuz after checking, your sDocName gives the doc name instead of the full path –Alex Aug 5 '14 at 19:33 You are correct.
Why is JK Rowling considered 'bad at math'? this contact form You might need to set up a loop to test whether the Word app has loaded before continuing. __________________ Cheers, Paul Edstein [MS MVP - Word] #3 10-01-2013, 01:23 In the directory there are .docx and .docm files. Not the answer you're looking for?
I've tried other solutions I found here to no effect. I can't do that with the above path name - there is no "Documents" folder within "U1830" - the final file is correct though. Share Share this post on Digg Del.icio.us Technorati Twitter Reply With Quote Dec 3rd, 2013,07:14 AM #5 RoryA MrExcel MVPModerator Join Date May 2008 Location East Sussex Posts 28,379 Re: Trying http://codecove.net/microsoft-visual/microsoft-visual-basic-unexpected-error-336.html Starting from then, it returns the error Could be a timing issue.
http://www.microsoft.com/downloads/details.aspx?FamilyID=bf9a24f9-b5c5-48f4-8edd-cdf2d29a79d5&displaylang=en Also it may be something to do with Macro security. Click Here to join Tek-Tips and talk with other members! LinkBack Thread Tools Display Modes #1 09-15-2013, 05:12 AM tinfanide Windows 7 64bit Office 2010 32bit Expert Join Date: Aug 2011 Posts: 300 Run-time Error 5174: Open Word
Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More... To start viewing messages, select the forum that you want to visit from the selection below. Meditation and 'not trying to change anything' Is a food chain without plants plausible? I just needed to read the documentation on the Dir function.
The application runs in Windows 7 64-bit using Excel 2010 32-bit. Create a 5x5 Modulo Grid How to concatenate three files (and skip the first line of one file) an send it as inputs to my program? Excel - Tips and Solutions for Excel Privacy Statement Terms of Service Top All times are GMT -4. Check This Out it just won't open.
Were students "forced to recite 'Allah is the only God'" in Tennessee public schools? This assumes that strPath exists and that the bookmarks and content controls exist in the documents. RE: Run time error 5174 I don't know why RobBroekhuis (TechnicalUser) 23 Oct 03 07:52 Please post your code Rob RE: Run time error 5174 I don't know why PleaseGiveHelp (Programmer) Is there a mutual or positive way to say "Give me an inch and I'll take a mile"?
Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. Following adding the file, the code will go through all files in the directory like it should. Thanks share|improve this answer answered Sep 20 '14 at 19:22 Geoff Lentsch 9717 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using