S
Scott Zierler
Hi All,
Could anyone please help me figure out how to make a specified field in a
worksheet be the
file name in the code below. Currently the name has to be manually typed
in, such as below Cambell.htm. I can't think of the variable or fieldname.
Thanks.
Scott
Code Below
ActiveWorkbook.PublishObjects.Add( _
SourceType:=xlSourceRange, _
Filename:="Campbell.htm", _
Sheet:="Schedule", _
Source:="B1:F107", _
HtmlType:=xlHtmlStatic).Publish
ChDir "G:\My Documents"
Could anyone please help me figure out how to make a specified field in a
worksheet be the
file name in the code below. Currently the name has to be manually typed
in, such as below Cambell.htm. I can't think of the variable or fieldname.
Thanks.
Scott
Code Below
ActiveWorkbook.PublishObjects.Add( _
SourceType:=xlSourceRange, _
Filename:="Campbell.htm", _
Sheet:="Schedule", _
Source:="B1:F107", _
HtmlType:=xlHtmlStatic).Publish
ChDir "G:\My Documents"