Thema Datum  Von Nutzer Rating
Antwort
05.01.2016 07:03:28 Andre
NotSolved
06.01.2016 15:27:50 Gast28524
NotSolved
06.01.2016 15:40:24 Andre
NotSolved
06.01.2016 16:20:53 Gast25935
NotSolved
07.01.2016 07:56:43 Andre
NotSolved
06.01.2016 22:17:39 Gast69812
NotSolved
07.01.2016 05:51:07 Gast10186
NotSolved
07.01.2016 07:45:58 Andre
NotSolved
07.01.2016 08:06:27 Andre
NotSolved
09.01.2016 19:10:40 Gast62795
NotSolved
11.01.2016 08:20:07 Andre
NotSolved
11.01.2016 10:22:55 Gast7783
NotSolved
11.01.2016 12:36:32 Andre
NotSolved
11.01.2016 12:39:35 Andre
NotSolved
11.01.2016 15:56:45 Gast87431
NotSolved
11.01.2016 16:14:03 Andre
NotSolved
11.01.2016 16:30:15 Gast67223
NotSolved
12.01.2016 08:21:54 Gast77619
NotSolved
11.01.2016 16:34:42 Gast89738
NotSolved
12.01.2016 08:27:34 Andre
NotSolved
12.01.2016 12:41:22 Gast14356
NotSolved
12.01.2016 14:12:59 Andre
NotSolved
12.01.2016 14:17:04 Andre
NotSolved
12.01.2016 15:46:33 Gast57141
NotSolved
13.01.2016 07:56:18 Andre
NotSolved
13.01.2016 08:09:51 Andre
NotSolved
13.01.2016 08:32:16 Gast86894
NotSolved
13.01.2016 08:42:11 Andre
NotSolved
13.01.2016 19:20:12 Gast86704
NotSolved
14.01.2016 08:32:14 Andre
NotSolved
14.01.2016 10:10:53 Gast34177
NotSolved
14.01.2016 10:28:38 Andre
NotSolved
14.01.2016 10:45:46 Gast25298
NotSolved
14.01.2016 10:58:07 Andre
NotSolved
14.01.2016 11:33:50 Gast21502
NotSolved
14.01.2016 12:18:11 Andre
NotSolved
14.01.2016 15:49:42 Gast23760
NotSolved
14.01.2016 16:09:09 Andre
****
NotSolved
14.01.2016 18:55:41 Gast81853
NotSolved
15.01.2016 08:18:04 Andre
NotSolved
15.01.2016 19:30:59 Gast45694
NotSolved
18.01.2016 08:09:01 Andre
NotSolved
18.01.2016 08:12:08 Andre
NotSolved
18.01.2016 18:02:48 Gast82440
NotSolved
19.01.2016 08:40:26 Andre
NotSolved
19.01.2016 13:36:07 Gast75130
NotSolved
19.01.2016 14:04:24 Andre
NotSolved
19.01.2016 18:19:20 Gast65228
NotSolved
19.01.2016 18:20:55 Gast29977
NotSolved
20.01.2016 07:21:35 Andre
NotSolved
20.01.2016 11:42:16 aufran
NotSolved
20.01.2016 11:54:57 Andre
NotSolved
20.01.2016 12:03:47 Gast44577
NotSolved
20.01.2016 15:58:00 aufran
NotSolved
21.01.2016 21:41:23 aufran
NotSolved
21.01.2016 21:52:00 Gast14641
NotSolved
20.01.2016 12:01:05 Gast18965
NotSolved
20.01.2016 12:07:06 Gast343
NotSolved
20.01.2016 12:18:06 Andre
NotSolved
20.01.2016 12:28:46 Gast95544
Solved
20.01.2016 20:02:43 Gast15375
NotSolved
21.01.2016 07:52:14 Andre
NotSolved
21.01.2016 10:46:39 Gast54269
NotSolved
21.01.2016 10:59:39 Gast19460
NotSolved
21.01.2016 15:04:13 Andre
NotSolved
21.01.2016 15:09:07 Andre
NotSolved
21.01.2016 15:55:44 Gast30371
NotSolved
25.01.2016 07:53:22 Andre
NotSolved
25.01.2016 08:35:01 Andre
NotSolved
25.01.2016 08:35:07 Andre
NotSolved
22.01.2016 13:51:05 Gast11423
NotSolved
22.01.2016 22:45:16 aufran
NotSolved
25.01.2016 08:08:43 Andre
NotSolved
25.01.2016 11:18:33 aufran
NotSolved
25.01.2016 12:07:03 Andre
NotSolved
25.01.2016 08:06:16 Andre
NotSolved
25.01.2016 19:38:52 Gast92881
NotSolved
25.01.2016 19:40:23 Gast31903
NotSolved
26.01.2016 07:26:40 Andre
NotSolved
26.01.2016 09:25:34 Gast31028
NotSolved
26.01.2016 10:15:47 Andre
NotSolved
26.01.2016 11:48:57 Gast10723
NotSolved
26.01.2016 13:23:31 Andre
NotSolved
27.01.2016 14:23:48 Gast20611
NotSolved
27.01.2016 14:48:05 Andre
NotSolved
27.01.2016 14:56:24 Andre
NotSolved
27.01.2016 15:30:27 Gast76603
NotSolved
27.01.2016 15:30:28 Gast42470
NotSolved
27.01.2016 15:57:14 Andre
NotSolved
27.01.2016 16:21:33 Andre
NotSolved
27.01.2016 20:54:35 Gast808
NotSolved
28.01.2016 07:25:57 Andre
NotSolved
28.01.2016 16:20:47 Gast66068
Solved
29.01.2016 12:28:40 Andre
NotSolved
29.01.2016 17:35:37 Gast3880
NotSolved
Blau Blau @Gast3880
30.01.2016 10:06:13 aufran
NotSolved

Ansicht des Beitrags:
Von:
aufran
Datum:
30.01.2016 10:06:13
Views:
734
Rating: Antwort:
  Ja
Thema:
@Gast3880

Thx - ist mir so gar nicht aufgefallen!

Übrigens für hartgesottene Administratoren -
der Cmd ist immer noch in Windows implementiert,
eine Dateisuche erledigt der dir-Befehl x-mal schneller als VBA Code,
und so eine Stapeldatei kannst du mit dem Windows Explorer immer in jedes
gewünschte Unterverzeichnis schieben (Netzlaufwerke nur mit LW-Buchstaben!)

und dort mit Klick starten!


Die Auswertungs-Excel-Datei lege ich praktischerweise in den temporären
Ordner des Benutzers und was dort abgeht kannst du selber besser coden als ich!

Gruß


Code Batch-Datei

@echo off
@echo Dateiname als Maske z.B. *Plan*.xls
set /p Maske=
IF /==%Maske% exit
del /F /Q %TMP%\xlsgefunden.txt
dir %Maske% /b /s | sort /r  > %TMP%\xlsgefunden.txt
start %TMP%\Hyperlinks.xlsm


Bleistift-Excel

'Muster - berücksichtigt die bisher bekannten Anforderungen
'------------------------------------------------------------------------------
'diesen Code in einer leeren Exceldatei und
'als "Hyperlinks.xlsm" im lokalen Ordner des Windows-Benutzers XXXXXX speichern
'z.B. C:\Users\XXXXXX\AppData\Local\Temp
'------------------------------------------------------------------------------
'die Sub am besten auch mit dem Workbook.Open Ereignis verknüpfen
'
Option Explicit
Sub InSpalte()
Dim TextDatei As String
Dim hf As Integer
Dim Zeilen() As String, Vergleich As String
Dim letzteZ As Long, x As Long, flag As Boolean
On Error GoTo Fehler
Application.ScreenUpdating = False
hf = FreeFile
TextDatei = ThisWorkbook.Path & "\xlsgefunden.txt"
Open TextDatei For Input As hf
Zeilen = Split(Input(LOF(hf), hf), vbNewLine)
If UBound(Zeilen) = -1 Then
   Call MsgBox("kein Treffer!", vbCritical, "Abbruch")
   Exit Sub
End If
With Range("B1")
   .CurrentRegion.Clear
   .CurrentRegion.ClearHyperlinks
   .Resize(UBound(Zeilen), 1).Value = Application.Transpose(Zeilen)
End With
'
Fehler:
Close hf
Application.ScreenUpdating = True
If Err.Number = 0 Then
   Select Case MsgBox("Nur die Dateien am Ende eines Astes?", _
   vbYesNoCancel Or vbQuestion Or vbDefaultButton1, "Einschränkungen")
      Case vbYes
         flag = NurAmPfadende()
         '
      Case vbNo
      'ggf. weitere Einschränkungen
      '
      Case vbCancel
         Exit Sub
   End Select
flag = NurinOrdnern()
If flag = True Then Call NeueLinks
End If
End Sub
Private Function NurAmPfadende() As Boolean
Dim letzteZ As Long, x As Long
Dim Vergleich As String
On Error GoTo Fehler
Application.ScreenUpdating = False
letzteZ = Cells.Find("*", [A1], , , xlByRows, xlPrevious).Row
For x = letzteZ To 2 Step -1
   Vergleich = Range("B" & x).Value
   Vergleich = Left(Vergleich, InStrRev(Vergleich, "\") - 1)
   If InStr(Range("B" & x - 1).Value, Vergleich) > 0 Then Rows(x).Delete
Next x
NurAmPfadende = True
Fehler:
Application.ScreenUpdating = True
End Function
Private Function NurinOrdnern() As Boolean
Dim letzteZ As Long, x As Long
Dim Suchwert As String
On Error GoTo Fehler
Application.ScreenUpdating = False
Suchwert = InputBox("Zu durchsuchenden Ordner eingeben!", "Ordnername")
If Suchwert = "" Then
   NurinOrdnern = True
   Exit Function
End If
letzteZ = Cells.Find("*", [A1], , , xlByRows, xlPrevious).Row
For x = letzteZ To 2 Step -1
   If InStr(Range("B" & x - 1).Value, Suchwert) = 0 Then Rows(x).Delete
Next x
letzteZ = Cells.Find("*", [A1], , , xlByRows, xlPrevious).Row
NurinOrdnern = True
Fehler:
Application.ScreenUpdating = True
End Function
Private Sub NeueLinks()
Dim letzteZ As Long, x As Long
Dim Suchwert As String
On Error GoTo Fehler
Suchwert = InputBox("Zu suchenden Wert eingeben!", "Suchtexteingabe")
If Suchwert = "" Then Exit Sub
Application.ScreenUpdating = False
letzteZ = Cells.Find("*", [A1], , , xlByRows, xlPrevious).Row
For x = 1 To letzteZ
'

' "Dateien öffnen, durchsuchen wie ......."
'
Next x
Fehler:
Application.ScreenUpdating = True
End Sub

 


Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausfĂĽhrlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifĂĽgen / nachtragen
  • Codeschnipsel am besten ĂĽber den Code-Button im Text-Editor einfĂĽgen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausfĂĽhrlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifĂĽgen / nachtragen
  • Codeschnipsel am besten ĂĽber den Code-Button im Text-Editor einfĂĽgen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
05.01.2016 07:03:28 Andre
NotSolved
06.01.2016 15:27:50 Gast28524
NotSolved
06.01.2016 15:40:24 Andre
NotSolved
06.01.2016 16:20:53 Gast25935
NotSolved
07.01.2016 07:56:43 Andre
NotSolved
06.01.2016 22:17:39 Gast69812
NotSolved
07.01.2016 05:51:07 Gast10186
NotSolved
07.01.2016 07:45:58 Andre
NotSolved
07.01.2016 08:06:27 Andre
NotSolved
09.01.2016 19:10:40 Gast62795
NotSolved
11.01.2016 08:20:07 Andre
NotSolved
11.01.2016 10:22:55 Gast7783
NotSolved
11.01.2016 12:36:32 Andre
NotSolved
11.01.2016 12:39:35 Andre
NotSolved
11.01.2016 15:56:45 Gast87431
NotSolved
11.01.2016 16:14:03 Andre
NotSolved
11.01.2016 16:30:15 Gast67223
NotSolved
12.01.2016 08:21:54 Gast77619
NotSolved
11.01.2016 16:34:42 Gast89738
NotSolved
12.01.2016 08:27:34 Andre
NotSolved
12.01.2016 12:41:22 Gast14356
NotSolved
12.01.2016 14:12:59 Andre
NotSolved
12.01.2016 14:17:04 Andre
NotSolved
12.01.2016 15:46:33 Gast57141
NotSolved
13.01.2016 07:56:18 Andre
NotSolved
13.01.2016 08:09:51 Andre
NotSolved
13.01.2016 08:32:16 Gast86894
NotSolved
13.01.2016 08:42:11 Andre
NotSolved
13.01.2016 19:20:12 Gast86704
NotSolved
14.01.2016 08:32:14 Andre
NotSolved
14.01.2016 10:10:53 Gast34177
NotSolved
14.01.2016 10:28:38 Andre
NotSolved
14.01.2016 10:45:46 Gast25298
NotSolved
14.01.2016 10:58:07 Andre
NotSolved
14.01.2016 11:33:50 Gast21502
NotSolved
14.01.2016 12:18:11 Andre
NotSolved
14.01.2016 15:49:42 Gast23760
NotSolved
14.01.2016 16:09:09 Andre
****
NotSolved
14.01.2016 18:55:41 Gast81853
NotSolved
15.01.2016 08:18:04 Andre
NotSolved
15.01.2016 19:30:59 Gast45694
NotSolved
18.01.2016 08:09:01 Andre
NotSolved
18.01.2016 08:12:08 Andre
NotSolved
18.01.2016 18:02:48 Gast82440
NotSolved
19.01.2016 08:40:26 Andre
NotSolved
19.01.2016 13:36:07 Gast75130
NotSolved
19.01.2016 14:04:24 Andre
NotSolved
19.01.2016 18:19:20 Gast65228
NotSolved
19.01.2016 18:20:55 Gast29977
NotSolved
20.01.2016 07:21:35 Andre
NotSolved
20.01.2016 11:42:16 aufran
NotSolved
20.01.2016 11:54:57 Andre
NotSolved
20.01.2016 12:03:47 Gast44577
NotSolved
20.01.2016 15:58:00 aufran
NotSolved
21.01.2016 21:41:23 aufran
NotSolved
21.01.2016 21:52:00 Gast14641
NotSolved
20.01.2016 12:01:05 Gast18965
NotSolved
20.01.2016 12:07:06 Gast343
NotSolved
20.01.2016 12:18:06 Andre
NotSolved
20.01.2016 12:28:46 Gast95544
Solved
20.01.2016 20:02:43 Gast15375
NotSolved
21.01.2016 07:52:14 Andre
NotSolved
21.01.2016 10:46:39 Gast54269
NotSolved
21.01.2016 10:59:39 Gast19460
NotSolved
21.01.2016 15:04:13 Andre
NotSolved
21.01.2016 15:09:07 Andre
NotSolved
21.01.2016 15:55:44 Gast30371
NotSolved
25.01.2016 07:53:22 Andre
NotSolved
25.01.2016 08:35:01 Andre
NotSolved
25.01.2016 08:35:07 Andre
NotSolved
22.01.2016 13:51:05 Gast11423
NotSolved
22.01.2016 22:45:16 aufran
NotSolved
25.01.2016 08:08:43 Andre
NotSolved
25.01.2016 11:18:33 aufran
NotSolved
25.01.2016 12:07:03 Andre
NotSolved
25.01.2016 08:06:16 Andre
NotSolved
25.01.2016 19:38:52 Gast92881
NotSolved
25.01.2016 19:40:23 Gast31903
NotSolved
26.01.2016 07:26:40 Andre
NotSolved
26.01.2016 09:25:34 Gast31028
NotSolved
26.01.2016 10:15:47 Andre
NotSolved
26.01.2016 11:48:57 Gast10723
NotSolved
26.01.2016 13:23:31 Andre
NotSolved
27.01.2016 14:23:48 Gast20611
NotSolved
27.01.2016 14:48:05 Andre
NotSolved
27.01.2016 14:56:24 Andre
NotSolved
27.01.2016 15:30:27 Gast76603
NotSolved
27.01.2016 15:30:28 Gast42470
NotSolved
27.01.2016 15:57:14 Andre
NotSolved
27.01.2016 16:21:33 Andre
NotSolved
27.01.2016 20:54:35 Gast808
NotSolved
28.01.2016 07:25:57 Andre
NotSolved
28.01.2016 16:20:47 Gast66068
Solved
29.01.2016 12:28:40 Andre
NotSolved
29.01.2016 17:35:37 Gast3880
NotSolved
Blau Blau @Gast3880
30.01.2016 10:06:13 aufran
NotSolved