PC Review


Reply
Thread Tools Rate Thread

Accessing Hyperlinks thru code

 
 
Christer
Guest
Posts: n/a
 
      8th Oct 2009
I want to automate a process where files (Excel or Word) are places in an
Eroom on the Intranet and access them via VBA. I don't know any path exept
the hyperlink.
I'am not allowed to access the files using the "\\server\share\..." manner.
Is it by any mean possible to do so?

Hope I have supplied enough information

/Christer
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      8th Oct 2009
There are lots of methods. Do you mean that you haven't been successful in
accessing the files using \\server\share\...", or you don't have permission
on your server to get the files in this manner. Yo may be having problems
because you filename (including path) excecess ~126 characters. The solution
would be to map a network drive to a subfolder on the network drive. DIR()
won't find files on network drives but a "file scripting object" will find
the file names.

You could use FTP to download the files and then open them from you local PC.

Can you see the files using a window explorer and if you can can you open
the files with the windows explorer.

"Christer" wrote:

> I want to automate a process where files (Excel or Word) are places in an
> Eroom on the Intranet and access them via VBA. I don't know any path exept
> the hyperlink.
> I'am not allowed to access the files using the "\\server\share\..." manner.
> Is it by any mean possible to do so?
>
> Hope I have supplied enough information
>
> /Christer

 
Reply With Quote
 
Christer
Guest
Posts: n/a
 
      8th Oct 2009

Thank you Joel,
the fact is that I don't have the permisson to access the files exept using
the hyperlink. Files may (in some cases) also be accessed at the same time by
more than one user.
Could it be possible instead to put an MS Access database in the Eroom
(preferable with a frontend and backend file) and keep track of the
information? In that case all the Excel or Word files are not nessecery.


"Joel" wrote:

> There are lots of methods. Do you mean that you haven't been successful in
> accessing the files using \\server\share\...", or you don't have permission
> on your server to get the files in this manner. Yo may be having problems
> because you filename (including path) excecess ~126 characters. The solution
> would be to map a network drive to a subfolder on the network drive. DIR()
> won't find files on network drives but a "file scripting object" will find
> the file names.
>
> You could use FTP to download the files and then open them from you local PC.
>
> Can you see the files using a window explorer and if you can can you open
> the files with the windows explorer.
>
> "Christer" wrote:
>
> > I want to automate a process where files (Excel or Word) are places in an
> > Eroom on the Intranet and access them via VBA. I don't know any path exept
> > the hyperlink.
> > I'am not allowed to access the files using the "\\server\share\..." manner.
> > Is it by any mean possible to do so?
> >
> > Hope I have supplied enough information
> >
> > /Christer

 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      8th Oct 2009
the prefer method when files are sharred is to use Access. Then setup a
webquery or database query using hte worksheet menu

Data - Import External Data - Import data - New Query (web or databasse).

A macro can also be used to generate the query on the worksheet. Or with a
macro you can connect to the database (either ADO or DBO methods using SQL)
and read the data. If the users are going to submit data then the ADO or DBO
methods are used.

"Christer" wrote:

> Thank you Joel,
> the fact is that I don't have the permisson to access the files exept using
> the hyperlink. Files may (in some cases) also be accessed at the same time by
> more than one user.
> Could it be possible instead to put an MS Access database in the Eroom
> (preferable with a frontend and backend file) and keep track of the
> information? In that case all the Excel or Word files are not nessecery.
>
>
> "Joel" wrote:
>
> > There are lots of methods. Do you mean that you haven't been successful in
> > accessing the files using \\server\share\...", or you don't have permission
> > on your server to get the files in this manner. Yo may be having problems
> > because you filename (including path) excecess ~126 characters. The solution
> > would be to map a network drive to a subfolder on the network drive. DIR()
> > won't find files on network drives but a "file scripting object" will find
> > the file names.
> >
> > You could use FTP to download the files and then open them from you local PC.
> >
> > Can you see the files using a window explorer and if you can can you open
> > the files with the windows explorer.
> >
> > "Christer" wrote:
> >
> > > I want to automate a process where files (Excel or Word) are places in an
> > > Eroom on the Intranet and access them via VBA. I don't know any path exept
> > > the hyperlink.
> > > I'am not allowed to access the files using the "\\server\share\..." manner.
> > > Is it by any mean possible to do so?
> > >
> > > Hope I have supplied enough information
> > >
> > > /Christer

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Hyperlinks after PPS burned to a CD =?Utf-8?B?Qm9iIE1pbGxhcmQ=?= Microsoft Powerpoint 1 28th Mar 2007 12:34 AM
What is the best case for accessing managed code from unmanaged code? Bae,Hyun-jik Microsoft VC .NET 4 28th Jul 2005 02:37 PM
accessing hyperlinks from email =?Utf-8?B?bW9udHk=?= Windows XP Security 1 24th Feb 2005 04:55 PM
Re: VBA code to add hyperlinks Ed Microsoft Excel Programming 0 2nd Jun 2004 11:37 PM
Accessing Hyperlinks Mary O'Brien Windows XP Accessibility 4 13th Oct 2003 11:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:26 PM.