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
How do I setup Windows 2003 Site and Services to force users to logon certain Domain Controllers
Curious Sandbox folders in server 2008
Script Trouble
I need a asp.net 3.2 email handler vb
Remote Desktop Keeps Launching Explorer
Query XML data in TSQL
Excel spreadsheet
Sharepoint Discussion Board Pictures??
Installing windows 2008 without DVD Drive
Conversion failed when converting date and/or time from character string.