Hey, can anyone give me a hand with some code that automatically moves files with a certain word within the filename to a specific folder?
So all files where the filename contains "LH" gets moved to the folder called "LH"...all files where the filename contains "BH" gets moved to the folder...
I'm using this code within an excel macro to cycle through all workbooks in a directory and execute code within each one -
Dim wb As Workbook
Dim TheFile As String
Dim MyPath As String
MyPath = "C:\Temp"
ChDir MyPath
TheFile = Dir("*.csv")
Do While TheFile <> ""
Set wb =...
Does anyone have any experience in using VB for a program called AnyDoc?
You can implement VB to modify the templates that are used for data extraction, but there is no information on the net to help me with this...
I'm not sure how widely the software is used so I'm not sure how many of you...
I am renaming files from .txt to .csv within a directory. the code i am using to do this is -
Dim number As Integer
number = 5
Do While number = 5
Dim dir As DirectoryInfo = New DirectoryInfo("\\IFADATAFLOW1\SharedDocs\Test production bucket...
Here's something I've been trying to do, hope someone can help with it...
I want to move files from one location on my computer to another using listboxes. What I want to do is set up two list boxes side by side, I want listbox1 to display the contents of a particular folder on my computer, and...
The software I'm using at the moment outputs .txt files, which I then have to rename manually to a .csv.
Sometimes that involves renaming 30 or so files, which takes a while.
How would I go about writing something in Visual Basic Express that would rename all the the files to have a .csv...
I've got a question that I hope someone can answer for me...At my place of work we have one person that creates programs for the other employees to use. Because of the nature of the work there are generally errors, and the process of reporting them is rather fuzzy.
What i want to do is create a...
On the program I have created I have set FormBorderSyle to 'None', as a result I cannot drag the window of my program around.
Is there another way I can do this without a title bar?
I have found some references to this on the internet but I'm a beginner at this and so don't know how to...
Hi all
Ive created a simple program that opens up certain folders on my local and network drives by clicking on specific buttons, it acts as a navigation menu because i spend far too long clicking around to get to the right folders.
But the way it works isn't really good enough.
The way the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.