Hello, I'm a first timer to the forum with very limited knowledge of VB. I hope this is the correct forum for what I need to do.
I tried searching for some basic tutorial but I just can't seem to get going. So I was wondering if I can request someone to write a quick VB code that is a simpler version of what I will eventually need to do. Once I have that I should be able to research what I need and expand.
When this is all done, I expect to be able to type in a command in a DOS window and execute what I wrote.
So here is a simple task I would want this command to do.
In directory c:\source\, there will be a file called sourcefile.xls. On sheet1 of that file cell A1 will have the text value "A" in it.
I want to replace "A" with "B" and save the file as targetfile.xls under c:\target\
I have Visual Studio 2008 and Excel 2003... if this matters.
I tried searching for some basic tutorial but I just can't seem to get going. So I was wondering if I can request someone to write a quick VB code that is a simpler version of what I will eventually need to do. Once I have that I should be able to research what I need and expand.
When this is all done, I expect to be able to type in a command in a DOS window and execute what I wrote.
So here is a simple task I would want this command to do.
In directory c:\source\, there will be a file called sourcefile.xls. On sheet1 of that file cell A1 will have the text value "A" in it.
I want to replace "A" with "B" and save the file as targetfile.xls under c:\target\
I have Visual Studio 2008 and Excel 2003... if this matters.