Copy Folder Structure from Explorer into Outlook 2013
Hi,
I have just spent approx 3 months designing an Enterprise Classification Scheme, and built a folder structure in Explorer that I want to replicate in Outlook.
I thought it would have been as simple as copy and pasting from Explorer to an Outlook folder however when I attempt to do so I get the following error:
"Only files or objects can be attachments. x:\xxxx\xxxxx\xxxxx is a folder structure and cannot be attached."
Surely there must be a simple way of doing this so I don't have to manually recreate and name 442 folders in Outlook.
Any advice greatly appreciated.
I tried the Outlook tool with no luck. It ran and looked as though it was doing something but no folders were created.
I did a bit more of a search around and came across a spreadsheet that works perfectly for making folder structures on Network drives. Anyone up to having a look at the VBA in the spreadsheet and modifying it to make shared folders in outlook
2013?
Sub CreateFolderStructure()
'Create folder for all vlues in current sheet
'folders will be created in folder where the excel file was saved
'folders will be created from first row, first column, until empty row is found
'Example expected cell structure: (data starting in current sheet, column A, row 1)
'folder1 subfolder1 subsubfolder1
'folder2
'folder3 subfolder3
' subfolder4
'this will result in:
'<currentpath>\folder1\subfolder1\subsubfolder1
'<currentpath>\folder2
'<currentpath>\folder3\subfolder3
'<currentpath>\folder3\subfolder4
baseFolder = BrowseForFolder
If (baseFolder = False) Then
Exit Sub
End If
Set fs = CreateObject("Scripting.FileSystemObject")
For iRow = 2 To 6500
pathToCreate = baseFolder
leafFound = False
For iColumn = 1 To 6500
currValue = Trim(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Replace(Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, iColumn).Value, ":", "-"), "*", "-"),
"?", "-"), Chr(34), "-"), "<", "-"), ">", "-"), "|", "-"), "/", "-"), "\", "-"))
Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, iColumn).Value = currValue
If (currValue = "" And leafFound) Then
Exit For
ElseIf (currValue = "") Then
parentFolder = FindParentFolder(iRow, iColumn)
If (parentFolder = False) Then
Exit For
Else
pathToCreate = pathToCreate & "\" & parentFolder
If Not (fs.FolderExists(pathToCreate)) Then
CreateDirs (pathToCreate)
End If
End If
Else
leafFound = True
pathToCreate = pathToCreate & "\" & currValue
If Not (fs.FolderExists(pathToCreate)) Then
CreateDirs (pathToCreate)
End If
End If
Next
If (leafFound = False) Then
Exit For
End If
Next
End Sub
Function FindParentFolder(row, column)
For iRow = row To 0 Step -1
currValue = Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, column).Value
If (currValue <> "") Then
FindParentFolder = CStr(currValue)
Exit Function
ElseIf (column <> 1) Then
leftValue = Worksheets(ActiveCell.Worksheet.Name).Cells(iRow, column - 1).Value
If (leftValue <> "") Then
FindParentFolder = False
Exit Function
End If
End If
Next
End Function
Function BrowseForFolder(Optional OpenAt As Variant) As Variant
'Function purpose: To Browser for a user selected folder.
'If the "OpenAt" path is provided, open the browser at that directory
'NOTE: If invalid, it will open at the Desktop level
Dim ShellApp As Object
'Create a file browser window at the default folder
Set ShellApp = CreateObject("Shell.Application"). _
BrowseForFolder(0, "Please choose a folder", 0, OpenAt)
'Set the folder to that selected. (On error in case cancelled)
On Error Resume Next
BrowseForFolder = ShellApp.self.Path
On Error GoTo 0
'Destroy the Shell Application
Set ShellApp = Nothing
'Check for invalid or non-entries and send to the Invalid error
'handler if found
'Valid selections can begin L: (where L is a letter) or
'\\ (as in \\servername\sharename. All others are invalid
Select Case Mid(BrowseForFolder, 2, 1)
Case Is = ":"
If Left(BrowseForFolder, 1) = ":" Then GoTo Invalid
Case Is = "\"
If Not Left(BrowseForFolder, 1) = "\" Then GoTo Invalid
Case Else
GoTo Invalid
End Select
Exit Function
Invalid:
'If it was determined that the selection was invalid, set to False
BrowseForFolder = False
End Function
Sub CreateDirs(MyDirName)
' This subroutine creates multiple folders like CMD.EXE's internal MD command.
' By default VBScript can only create one level of folders at a time (blows
' up otherwise!).
' Argument:
' MyDirName [string] folder(s) to be created, single or
' multi level, absolute or relative,
' "d:\folder\subfolder" format or UNC
' Written by Todd Reeves
' Modified by Rob van der Woude
' http://www.robvanderwoude.com
Dim arrDirs, i, idxFirst, objFSO, strDir, strDirBuild
' Create a file system object
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Convert relative to absolute path
strDir = objFSO.GetAbsolutePathName(MyDirName)
' Split a multi level path in its "components"
arrDirs = Split(strDir, "\")
' Check if the absolute path is UNC or not
If Left(strDir, 2) = "\\" Then
strDirBuild = "\\" & arrDirs(2) & "\" & arrDirs(3) & "\"
idxFirst = 4
Else
strDirBuild = arrDirs(0) & "\"
idxFirst = 1
End If
' Check each (sub)folder and create it if it doesn't exist
For i = idxFirst To UBound(arrDirs)
strDirBuild = objFSO.BuildPath(strDirBuild, arrDirs(i))
If Not objFSO.FolderExists(strDirBuild) Then
objFSO.CreateFolder strDirBuild
End If
Next
' Release the file system object
Set objFSO = Nothing
End Sub
Similar Messages
-
Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)
Hi
As per the information and details provided by you, when you copy & paste a data from server to Outlook, word, notepad, then you do not receive the Chinese text.
For Outlook, please follow these steps: -
Close and reopen Outlook in your western locale (or switch the windows system to your Western locale if you changed that),
Manually change the message from Western to Chinese encoding, which you can do in all versions up to Outlook 2007.
If you want to stay in your Chinese locale in Outlook 2007, then:
After you hit reply, go to the Option tab > More Options.
In the Encoding drop-down menu, select the Chinese encoding you are working in (Not the encoding used by the person who will receive the message)
Note:
To set the Chinese locale in all versions up to 2007 the controls are under.
Tools > Options. In Outlook 2010 File tab > Options > Advanced > International options.
Unicode (UTF-8)
is a good setting for multilingual users.
Check the
Auto select 2007)/ Automatically select (2010) encoding box.
I hope this information will be helpful for you.
Thanks and regards
Shweta@G -
Importing Archive File into Outlook 2013
We got a couple of new PCs for some users and one of them had an Archive folder in Outlook 2010. I still have the archive.pst file from the old PC and I'm trying to import it into Outlook 2013 but it's not working. It seems pretty straight forward but
after I choose the archive.pst file, it doesn't actually add anything. Am I missing a step?Hi,
Please do the following steps to copy your archive.pst file to Outlook 2013 and open it:
1. Open Outlook 2010 in your old PC.
2. Click File > Open > Open Outlook Date File.
3. Copy the location of the Archive file from the opening windows(example: C:\Users\Administrator\Documents\Outlook Files).
4. Close Outlook 2010, and paste the copied location in Windows Explorer and Enter it.
5. Copy the Archive file. (To double check the file is copied completely, we can paste it in the local old machine and open it to have a test.)
6. Paste the copied Archive file in new PC.
7. Open Outlook 2013 in new PC.
8. Click File > Open&Export > Open Outlook Data File, expand the location of your pasted Archive file and open it.
Then check whether there are any messages in the opened archive folder.
Regards,
Winnie Liang
TechNet Community Support -
How to make file folder structure from virtual folders
lv 2013 sp1
This is the layout of an example project, (please don't mind the horrible naming)
When i create a source distribution.. no matter what settings I try, the preview is always like this:
But I want the folder structure from the build to become as the virtual folder structure. is there any way of doing this without moving them by hand in the file explorer tab?
Solved!
Go to Solution.Unless you use auto-populating folders (which I don't like), the virtual folders are not meant to reflect the location on disk, so it certainly won't be automatic.
I don't have experience with source distribution, but other build types have the option of configuring destination folders in the Destinations category and then assigning these destinations to items in the projects (including virtual folders, which then takes all the elements inside it) either in the same category or in the one under it, I can't check. I expect that you can do the same in a source distribution.
Try to take over the world! -
How do I import Outlook Express message files into Outlook 2013 without using LiveMail
I bought a new Windows 7 computer and have copied the Outlook Express .dbx files from the old XP computer onto the new one. Outlook 2013 's import facility does not have a .dbx option. I do not want to use Windows Live for anything. How do
I import my Outlook Express mail files into Outlook 2013 ?Hi,
It isn't only to Outlook 2013, other versions of Outlook cannot access the .dbx files directly.
In the situation, Windows Live Mail is needed to transfer the mail data to Outlook.
Best regards,
Rex Zhang
TechNet Community Support -
Drag/Drop "Numbered Stills" from Explorer into Project?
I only get individual stills when I drag a folder from Explorer into a project. Is there a way to tell Premiere to import as numbered stills (ie a sequence) when using drag/drop?
Thanks.Yes, there is an Adobe way that is MUCH better, but it is not exactly a Premiere Pro way
1) Using Adobe Bridge, put all of your stills in the order that you want them to show in Premiere
2) Select all photos and do a right-click "batch rename" (set to make a copy of all photos with 001 002 003 numbers in front of each file name in an empty sub-directory)
3) Import the whole "folder" (that you just "batch rename" copied the photos into) using the "import folder" option
Hope this works for your "workflow" as well as it does for mine.
Regards,
Jim -
Cannot copy and paste from Word into Mail
I cannot copy and paste from Word into Mail. Neither from using the keyboard shortcuts, or using the Menu function. I can copy and paste from other applications into Mail- but for some reason, text copied from a Word document (both in .txt and .doc formats) will not paste into an open email. Anyone else have this issue? It's a new issue. I used to be able to do this easily.
I had similar issues starting about the same time or within the past week. However, I can copy and paste, it just takes considerably longer than it used to before. Copying something from a web page into Word could take up to 30 seconds now on my computer but it shows a busy mouse pointer while it is loading, then clicks/pops when it loads into the Word document, but then actually takes about another 5 to 10 seconds to appear in the Word document. I have no idea why it is delaying now when it did not do it before, but since it is still going into the document I am living with it for now. Are you waiting long enough to see if it appears?
-
Is it possible to preserve the layer name when I copy and paste from Illustrator into Photoshop?
At the moment it just appears as "Vector Smart Object" in Photoshop and I have to take another step and change the layer name.
Thank you!Not that I know. PS doesn't care for these kinds of things and uses its own naming system.
Mylenium -
ICould prevents reply e-mails from sending in Outlook 2013
iCloud add-in prevents reply e-mails from sending in Outlook 2013. The Reply messages stay in Outbox. The Italic title returns to normal instantly. Any ideas to correct problem?
Hi,
Based on your description, users can move messages that don’t contain attachments to any other folders without any problem( not only subfolder of the Inbox ), and there is problem to move messages that contains attachment to whatever folders, right?
Please check this issue in OWA.
Please use the 'Move' operation from the context menu of the item to check this issue in Outlook.
Please switch to a PC not joined your domain to check this issue.
Best Regards.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Lynn-Li
TechNet Community Support -
Can't copy a song from library into playlist. Screen message says "song can't be found." I know it's there, how do I access it?.
I fixed this issue (with help from tech support) and it involved several things.
After adding a song to iTunes, right-click on the song in iTunes and select "Update iTunes Match."
OR go to the iTunes menu-->Store-->Update iTunes Match.
Maybe that's the reason, it just hadn't updated to the cloud.
OR maybe it's not a high-enough bitrate file. This happens to me because most of my tunes are home-recorded.
Sometimes converting to .mp3 or Create AAC version might work. (You do this with a right-click in iTunes, and then you will want to remove the original file from iTunes.)
There is an iTunes Preferences setting, under General Preferences called Import Settings. Try setting it to AAC Encoder and iTunes Plus. That (I think) causes imports to be slightly better quality.
Good luck! The tech support person at Apple is requesting that a knowlege-base article be written about this. -
Use Applescript to create folder structure from Numbers document
Hello All,
I know this is possible and I am feeling close - I just couldn't find a post that addressed the issue I am having exactly. Essentially I have a client list with 211 business names in it. I am trying to create a script that will scan the first column of my Numbers document and create a folder structure from that list. I found a post on another website that gave me a rough template and this is where I am at:
set destinationFolder to "MacHD:/Users//Documents/Work/Customers/:to:folder:"
tell application "Numbers.app"
set theCells to value of range "A1:A211" of active sheet
end tell
repeat with oneCell in theCells
tell application "Finder" to make new folder at folder destinationFolder with properties {name:item 1 of oneCell}
end repeat
When I run this I get "Expected end of line but found class name." and in the result window it display "
error "Can’t get value of range." number -1728 from «class NMCv» of «class NmCR»"
I am completely new to this and don't really know how to debug. Any help would be appreciated! Thank you so much!
AdamHere is an enhanced version which no longer use a loop to extract the selected values.
--{code}
set destinationFolder to "MacHD:/Users//Documents/Work/Customers/:to:folder:"
tell application "Numbers.app"
set theCells to value of range "A1:A211" of active sheet
end tell
repeat with oneCell in theCells
tell application "Finder" to make new folder at folder destinationFolder with properties {name:item 1 of oneCell}
end repeat
set destinationFolder to "" & (path to desktop) & " dossier"
Select the range of source cells then run the script *)
Grab parameters describing the selected cells *)
set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
Extract the names from the selected cells *)
tell column colNum1
set theNames to value of cells rowNum1 thru rowNum2
end tell -- column
end tell -- Numbers
I always do my best to use System Events which is faster than the Finder *)
tell application "System Events"
repeat with aName in theNames
try
make new folder at end of folder destinationFolder with properties {name:aName as text}
end try
end repeat
end tell
--=====
set { dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
on get_SelParams()
local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
tell application "Numbers" to tell document 1
set d_Name to its name
set s_Name to ""
repeat with i from 1 to the count of sheets
tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
if maybe is not 0 then
set s_Name to name of sheet i
exit repeat
end if -- maybe is not 0
end repeat
if s_Name is "" then
if my parleAnglais() then
error "No sheet has a selected table embedding at least one selected cell !"
else
error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
end if
end if
tell sheet s_Name to tell (first table where selection range is not missing value)
tell selection range
set {top_left, bottom_right} to {name of first cell, name of last cell}
end tell
set t_Name to its name
tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
if top_left is bottom_right then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
end if
end tell -- sheet…
return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end tell -- Numbers
end get_SelParams
--=====
on parle_anglais()
return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
end parle_anglais
--=====
--{code}
Here is an alternate version of the piece of code extracting the values :
--{code}
Grab parameters describing the selected cells *)
set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
Extract the names from the selected cells *)
set cell1 to name of cell rowNum1 of column colNum1
set cell2 to name of cell rowNum2 of column colNum1
set theNames to value of cells of range (cell1 & ":" & cell2)
end tell -- Numbers
--{code}
Yvan KOENIG (VALLAURIS, France) mercredi 25 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k -
How do I move web addresses from a folder in windows explorer into a bookmark folder
I have folder of favorites (urls) from IE in a folder in Windows Explorer. I created a new bookmarks folder. how do I move these urls into the new bookmarks folder?
See the following article.
* [[Import Bookmarks from Internet Explorer]]
In case of problems, first export your bookmarks in Internet Explorer as an HTML file, then import them in Firefox from the HTML file.
* [http://windows.microsoft.com/en-US/internet-explorer/add-view-organize-favorites Add to, view, and organize favorites | Microsoft Support]
* [[Import Bookmarks from a HTML file|Import Bookmarks from an HTML file | Mozilla Support]] -
I have a new computer (Sony VAIO Pro 11 Ultrabook) with a brand new install of Win 8.1 - 64 bit and MS Office 2013 Professional Plus. Everything works fine EXCEPT I can not import my contacts or calendar from Outlook 2007 Win 7 - 32 bit into the
.msn folders in each case. I can open .pst files in Outlook 2013 but they open in a local file and when I copy and paste them into the Exchange ActiveSync .msn contact and calendar files so that they will sync with Outlook.com Outlook 2013 crashes.
It can't even be reopened unless the wireless is turned off, and then you have to create a new data file as a default and then delete the old account and re-establish it. I have tried using the import functions as well with both
.CSV and .PST files that were exported from Outlook 2007 and an error message stating that this is not supported comes up. I have also tried to turn on sync with my iPhone to see if the files will sync from the phone through Outlook.com and nothing happens
there either - no sync on the web and nothing at the PC. Email works fine after adding the account again etc.
None of the procedures on the forums work (open PST file in the local folder then copy/paste, drag/drop, or move the files) so please don't respond with those links. All result in crash. Does anyone at MS know what's up with their latest
and greatest SW?
Thank you for your assistance.Import the calendar and contacts in Outlook.com. For contacts, export from Outlook as csv and import into Outlook by choosing the Other option (https://people.live.com/import/other?biciid=ImportCatalog)
You'll need to save the calendar as an ics file to import it. Select the calendar folder, the File, Save as an save as an ics.
Diane Poremsky [MVP - Outlook]
Outlook & Exchange Solutions Center
Outlook Tips
Subscribe to Exchange Messaging Outlook weekly newsletter -
Suddenly I can't drag files from explorer into audition anymore.
Hi any help on this would be greatly appreciated.
I was having some trouble with my m-track ASIO interface drivers so I went through some steps to try and fix this, and made some changes to audition and windows 7. I made some changes listed here http://avid.custkb.com/avid/app/selfservice/search.jsp?DocId=349411
anyway, none of it helped my issue, and to make matters worse now I cant just drag files from explorer windows into audition (which would usually load them in the menu on the left and place them into multitrack editor)
I can still load files through the open menu but this is pretty inefficient way of doing it.
Now I tried to reverse the changes I made but I still cant drag and drop into audition.
does anybody know what might cause this and how to fix it?
thanksWell, just finished my weekly podcast using Garageband and the "new and improved" iTunes. Here are the clunkers I've found:
1. Original problem of not being able to drag from iTunes to GarageBand. JamButty, I'll try out your workaround... for this show I literally had to drag all of the files I needed out of iTunes into a folder... Then why use iTunes at all?! Really stupid.
2. I noticed when I dragged the final show off of iTunes to a folder I use to upload to my S3 account, it now just has the black mp3 icon... not the image I use for the show. Granted, not a functional problem, but just stupid none the less why they would eliminate that.
3. Show notes in the metadata. Usually I'd copy my first paragraph of show notes (what goes on the web page) into Info > Comments in the metadata. And, if was too long, it would just chop off the end of it. This time I got a "bink" sound and nothing copied in. Tried it a couple of different ways with the same results until I figured out to just put half the copy in. Again, stupid, useless, time-consuming change.
I love Apple to death, but I hate what they do sometimes. The make a great product... then eventually screw it up with dumb changes (for example, the latest version of Final Cut) -
Aperture only sees MOVs in SD card copy folder structure
I copied a couple of SD cards to hard disk and trying to import images only shows the Movs which are in H.264 MTS file packages and completely ignores JPG images in the folder structure root and DCIM folders. All seems very random as not all MOVs are shown anyway (Quicktime handles packages perfectly).
It's obviously no big deal and just requires some finder foot work but I see more and more vague behaviour from all Apple products these days.Thanks - reading directly from SD card shows images but many of the movies are still missed. Basically all a bit random - less than useless for a professional tool were users may rely on dumping card contents into a library before reuse.
Maybe you are looking for
-
I/O Backplate upgrade option for MSI Big Bang X79
Is there anyway to purchase a padded MSI I/O Motherboard backplate? EVGA makes a really nice I/O padded backplate for their EVGA X79 FTW Motherboards so i was hoping MSI had it available has an optional purchase or upgrade? The padding is on the back
-
Returning multiple values from a called tabular form(performance issue)
I hope someone can help with this. I have a form that calls another form to display a multiple column tabular list of values(needs to allow for user sorting so could not use a LOV). The user selects one or more records from the list by using check bo
-
JEditorPane not Displaying HTML Correctly
I have a section of code that needs to lookup the HTML for a given URL, and then store the HTML for future use. The problem is the HTML is displaying in the JEditorPane as text rather than rendering it as HTML. I've stripped the code down as much as
-
Hey everyone I just wanted to let you know that I bought Toast 7 and it is by far the best CD/DVD burning software out there. The new stuff they have put on there just makes it worth every penny! One thing I wanted to let you all know though is that
-
I pulled up itunes today and everything was gone, blank, and like I have never used it before. I haven't done anything to it. I was on yesterday, downloading some songs and everything worked great. I didn't delete anything or do anything out the ordi