VBA: Can you open Windows Explorer from VBA?

========= QUESTION --------- Can I open Windows Explorer from my VBA code?   ========= ANSWER --------- See EXAMPLES   ========= EXAMPLES --------- Private Sub WindowsExplorer_Click() Dim rst As RecordsetDim retval As String Set rst = CurrentDb.OpenRecordset("Parms")retval = Shell("explorer.exe " & rst!Path, vbNormalFocus)Set rst = NothingEnd Sub   ========= APPLIES TO / KEY WORDS --------- Microsoft [...]

By |2011-06-15T13:27:19+00:00June 15th, 2011|Access, Computers, Documentation, Microsoft, VBA|Comments Off on VBA: Can you open Windows Explorer from VBA?

VBA: How to put double quotes in a string

========= QUESTION --------- I need to have double quotes (") in a string in VBA, as I am entering WHERE statements in a SQL statement, but every time I have quotes in a string, it errors out.   ========= ANSWER --------- Any time you have double quotes ("), simply double them ("") and you will [...]

By |2017-12-01T23:47:41+00:00June 15th, 2011|Access, Documentation, Microsoft, VBA|Comments Off on VBA: How to put double quotes in a string

Access: DLookup

========= QUESTION --------- How do I use the value from the field of one table as the criteria in a query against a different table? How do I use the DLookup function?   ========= ANSWER --------- See EXAMPLES   ========= EXAMPLES --------- Number Fields:DLookup("FieldName" , "TableName" , "Criteria = n") Text Fields: DLookup("FieldName" , "TableName" , "Criteria= 'string'") Date [...]

By |2017-12-01T23:47:41+00:00June 13th, 2011|Access, Computers, Documentation, Microsoft|Comments Off on Access: DLookup

Content Management Systems

========= QUESTION --------- What are some Content Management Systems I can use while hosting with anySiteHosting.com?   ========= ANSWER --------- http://WordPress.org http://www.cmsmadesimple.org/ http://drupal.org/ http://www.kentico.com/ http://moodle.org/  http://www.silverstripe.org/ http://DotNetNuke.com http://Joomla.org http://www.xoops.org/  http://www.websitebaker2.org  http://www.concrete5.org/    ========= EXAMPLES ---------   ========= APPLIES TO / KEY WORDS ---------   ========= REF ---------   ---http://www.anysitesupport.com/content-management-systems/ http://anySiteHosting.com

By |2011-06-12T11:34:39+00:00June 12th, 2011|CMS, Documentation, Internet/Web, Web Design|Comments Off on Content Management Systems

Excel: Use Format Cells to replace numbers with text

========= QUESTION --------- I have  a spreadsheet where I need to have a number in a cell for the calculations being done on that cell, but I want TEXT to actually display in that cell, not the number. For example, I have a spreadsheet showing a per line item cost, and the per line item [...]

By |2017-12-01T23:47:41+00:00June 10th, 2011|Computers, Documentation, Excel, Microsoft|Comments Off on Excel: Use Format Cells to replace numbers with text

Access: Run-time error 13 Type MisMatch

========= QUESTION --------- I converted a Microsoft Access database from .mdb to .accdb format, and now when I run my usual VBA code to export a report to PDF, it gives me the error: Run-time error ‘13’: Type mismatch   ========= ANSWER --------- If you are not using an ADO object library, clear the reference to [...]

By |2017-12-01T23:47:41+00:00June 7th, 2011|Access, Computers, Documentation, Microsoft, VBA|Comments Off on Access: Run-time error 13 Type MisMatch

Access VBA: Export to Spreadsheet

========= QUESTION --------- How do I export to a spreadsheet using VBA?   ========= ANSWER --------- See EXAMPLES   ========= EXAMPLES --------- MyFilePath = "C:Test" Me.Status = "Creating Spreadsheet file" Me.Repaint DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "ReportOrQueryName", MyFilePath & "FileName.xls" --------- Me.CurrentStatus = _ "Exporting to Excel for Distribution" & vbCrLf & _ Now() & vbCrLf & _ vbCrLf & _ [...]

By |2011-06-07T17:47:17+00:00June 7th, 2011|Access, Computers, Documentation, Microsoft, VBA|Comments Off on Access VBA: Export to Spreadsheet

WordPress Shopping Cart Options

========= QUESTION ---------   ========= ANSWER ---------   ========= EXAMPLES --------- http://www.zingiri.com   ========= APPLIES TO / KEY WORDS --------- WordPress Shopping Cart PayPal   ========= REF ---------   ---http://www.anysitesupport.com/wordpress-shopping-cart-options http://anySiteHosting.com

By |2011-06-01T18:22:59+00:00June 1st, 2011|Documentation, Internet/Web, WordPress|Comments Off on WordPress Shopping Cart Options

How do I add an SPF record in DNS for my domain?

========= QUESTION --------- How do I add an SPF record in DNS for my domain?   ========= ANSWER --------- Logon to your control panel http://www.anysitesupport.com/how-do-i-logon-to-the-hosting-control-panel/ Navigate to the DNS Settings area http://www.anysitesupport.com/how-do-i-access-my-dns-settings/ Be sure to review the DNS records already listed to make sure there isn't already an SPF record you should edit. Click Add NewSelect [...]

By |2011-06-01T06:50:40+00:00June 1st, 2011|anySiteSolutions.com, Control Panel, DNS, Documentation, Domains / DNS, Internet/Web, Windows Hosting|Comments Off on How do I add an SPF record in DNS for my domain?

Windows XP Screen Print Utility

========= QUESTION --------- What utility can I use to mimic the Snipping Tool from Windows 7 on Windows XP?   ========= ANSWER --------- ScreenPrint32   ========= EXAMPLES ---------   ========= APPLIES TO / KEY WORDS --------- Snipping Tool Screen Print PrtScPrint Screen Screen SnipPrintScreen   ========= REF --------- http://www.screenprint32.com/ ...or just google it - this [...]

By |2011-05-31T14:05:06+00:00May 31st, 2011|Computers, Documentation, Microsoft, Windows, XP|Comments Off on Windows XP Screen Print Utility
Go to Top