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
aspx vnbet dropdownlist client script
microsoft access query criteria to retrieve specific records based on a reference number and part number
Continuous form - alternate shading every other record
Can I make Sharepoint sites or folders invisible to users without rights?
Infopath Multiple-Selection List Box: linked to access and list populated from Access table
How can i install the renewed certificate on edge server
Replace Windows 2000 Server with 2003 server
Receiving error when submitting data to SQL Server through asp.net vb
multiple indexes on a single table
Using an Access 2007 ADP does not support SQL Express 2008 for table design - Better to use an ACCDB?