Can anybody tell me how I can open the FileName1 xls so that I can manipulate it's contents. The code below works fine if the excel application is open. If it's not alreday open the code will not work.
Set xApp = New Excel.Application
Filename1 = App.Path & "\SSB" & x & ".xls"
FileName2 = App.Path & "\SSB" & x & ".hld"
Set xWork = GetObject(Filename1)
xWork.Application.Selection.NumberFormat = "@"
xWork.SaveAs FileName2, xlCSV
In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function. While writing that article I realized that no o…
While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC. I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…