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
Merry Christmas to you all.
Certificate error while accessing companies website.
Dlookup top record with two criteria
application pool being auto-stopped when enabled for 32 Bit applications
select case logic
convert time and date format from asp.net to sql table
command box on my form that when clicked sends my report as .pdf file but in wrong record
Can I have command box labeled email and have it only open up the installed .pdf printer
visual studio addin deploy for 2005 and 2008
DHCP WINS scope options