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
Limit the number of items in a ASP.Net drop down list
Out of memory or system resources. Close some windows or programs and try again.
Exchange 2007 Storage Groups
Outlook voting button no response summary
Compiling Data from Multiple Sheets to Single Sheet in Excel
Merge Two Crosstab Queries
Make a relationship between two tables on one form.
Excel VBA Array within an Array
DomainPrep & 'unrecognized Exchange signature'?
blue screen errors...