Microsoft
Software
Hardware
Network
Question : Using a Field from a Table as part of the file name when saving in a module
How do I put a value from a field in a table into my SaveAs function using Visual Basic?
Answer : Using a Field from a Table as part of the file name when saving in a module
dim strName as string
strName=dlookup("[Field 1]","Table 1")
objWkb.SaveAs "\\lm\FileName" & strName & Month(Date) & "-" & Day(Date) & "-" & Year(Date).
Random Solutions
PhysicalDrive0 in VBNET
SQL syntax question -- exclude NULL record
Input paramters for an Excel VBA function
Need to make some space on server - can I remove PCHEALTH folder
users cannot open Tiff files in outlook in a Terminal server enviroment
SQL Query writing
HOW to map drives that STAY mapped after user logs off?
Access TreeView, Invalid Key
MS Access - how to trap SQL primary key violation error?
SQL to strip characters from imported csv phone list