Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tech Request -- Accessing extensionless files from VBA
 
#11
Yeah, VBA is Visual Basic for Applications, which I guess comes with MS Office, but it looks like only the typical Windows "File Open"  dialog box is available unless I want to start writing standalone VB and calling it from the VBA macro/script/whatever.  
'*.' was in fact the first thing I tried, but the result was that the dialog box came up showing '*.*', which I guess makes sense from a M$ viewpoint.  Gah.
I think I may be stuck following Catty's suggestion about using a separate script to add a unique extension to the extensionless filenames.  Since I know there are already some pre-existing tools (non-M$ Office) that depend on those files having the original filenames, probably what I'll do is make copies.  I'd been hoping to avoid that, though, so I could keep it all as a single self-contained Excel Macro.  Still, I'm almost to the point of diminishing returns here -- this little R&D morsel is under-funded, so I need something quick and dirty, even if it's a lousy hack from a programmer standpoint.
Reply


Messages In This Thread
[No subject] - by jpub - 07-23-2010, 07:31 PM
[No subject] - by SkyeFire - 07-23-2010, 09:17 PM
[No subject] - by paladindythe - 07-24-2010, 12:35 AM
[No subject] - by Ankhani - 07-24-2010, 01:26 AM
[No subject] - by SkyeFire - 07-24-2010, 03:03 AM
[No subject] - by Kurisu - 07-24-2010, 09:23 AM
[No subject] - by Ankhani - 07-24-2010, 08:17 PM
[No subject] - by CattyNebulart - 07-25-2010, 05:01 AM
[No subject] - by Sofaspud - 07-25-2010, 08:03 AM
[No subject] - by SkyeFire - 07-25-2010, 04:44 PM
[No subject] - by LilFluff - 07-25-2010, 10:44 PM
[No subject] - by Sofaspud - 07-26-2010, 03:16 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)