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
Certreq in Windows 2003 Server (Certificate Authority)
French & Office
Building a form/SubForm reference
How can I delete cells and still preserve the formulas in other cells?
blinking font in SSRS report?
Windows Vista won't recognize CD or DVD disks.
Defining a SourceWorkbook dynamically
Access 2007 Button Images
Can't read CDs through Windows XP explorer
How do you/Can you use data from multiple reports and put them on one report