Report Option to Facilitate File Index with Hyperlinks

Features wanted...
Post Reply
GrayBeard
Posts: 1
Joined: 19 Dec 2007 13:35
Location: UK

Report Option to Facilitate File Index with Hyperlinks

Post by GrayBeard »

I will not attempt to specify a method of achieving what I would like.

Instead I will describe the desired end result.

Imagine an Excel file listing all the files in a directory and all its sub directories.

The First column would be a hyperlink, when you click on the hyperlink it opens the file.

The second column would be the file name.

The third column would be where you can enter notes about the file.

The existing report csv format makes it difficult to create this. I suggest a new optional format that would make this easier.

What I do at the moment is to use a batch file containing the command.

dir /S /B /W >> list.txt

The resulting Text file is then cut and pasted into an Exccel spreadsheet and after much messing about with excel formulae etc I am able to use the following Macro to convert a column into shortcuts.

Code: Select all

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 12/05/2007 by Graybeard '
' Keyboard Shortcut: Ctrl+j  (must be manually assigned to this macro) ' Click on a cell.  Hold down Ctrl and J.  Turns all cells in column into Hyperlinks.
 
Dim CellValue As String ' Variable to remember cell value

    CellValue = ActiveCell.Value 'Copy cell value into Variable

    ' Create Hyperlink based on cell value 
    ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:=CellValue, _
        TextToDisplay:=CellValue

    ActiveCell.Offset(1, 0).Activate 'Jump down one to next cell

End Sub
What I suggest is a CSV output file format to facilitate this process.

Donald Lessau has suggested that I post this on this Forum and see if anyone else would find this useful.
Graybeard
Electronics Engineer/Consultant
UK

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Hi!
I manage file reports for my project where i go to and fro to the CSV's to locate my file easily. Well, since caching search results is not there already this method (clicking on hyperlink and going to the desired file) seems useful to me. My vote for this.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Well... I would have no use for this personally, I don't think, but I know that the ability to create user-made reports has been mentioned in the past, reports based on user-created templates with header, footer, variables, etc

That would not only allow for users to create their own CSV, but also HTML reports (which I (would) use) and any other kind of reports...
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66293
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Well... I would have no use for this personally, I don't think, but I know that the ability to create user-made reports has been mentioned in the past, reports based on user-created templates with header, footer, variables, etc
Yes, template-based reports are on my list -- but the demand appears to be low. I personally don't need it either, although I'm sure that it should be great for some. Now there's GrayBeard, so it moves up a bit in my mental "to do" queue...

Post Reply