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
Stop sysprep from running on boot
Dropdown of Word 2003, Insert Autotext subfolders are all empty
Update a column from another table colum
How do I access another column of data in a ComboBox?
Windows 2008 Terminal Server Mandatory profile error
Get all realted downloads to a subcategory
Access 2007 Slow on Subforms
SBS 2008 iis7 problem
Access VBA
Access Form with labels can't cycle through labesl in vba code. Original labels recognized but not newly added labels.