Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
drvortex
 
Posts: n/a
Default What's wrong with this?


Sub saveweb()
'
' saveweb Macro
' Macro recorded 10/31/2004 by NORENJ
'

'
Dim strFname As String
strFname = InputBox("Enter Filename:")
ActiveWorkbook.PublishObjects.Add(xlSourceSheet, _
"C:\Documents and Settings\Drvortex\Desktop\" & strFname &
".html", "Jan04_Charts", "" _
, xlHtmlStatic, "2004_ChartsA_4129", "Jan04_Charts").Publish
(True)
End Sub

I identified strFname through the Inputbox...but I'm getting an error
when entered into the next class. How do I reference the strFname in
the following class?


--
drvortex
------------------------------------------------------------------------
drvortex's Profile: http://www.excelforum.com/member.php...o&userid=15896
View this thread: http://www.excelforum.com/showthread...hreadid=275047

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I get wrong dates when i paste from a different sheet into a new s mmollat Excel Discussion (Misc queries) 2 January 6th 05 08:35 PM
Wrong weeknumber 2004 / 2005 Cris van Eijk Excel Discussion (Misc queries) 1 December 29th 04 04:46 PM
something wrong with my "countif" function ryanjh79 Excel Discussion (Misc queries) 3 December 17th 04 07:59 PM
cell assumes wrong date julie from Seattle Setting up and Configuration of Excel 1 November 30th 04 08:51 PM
Help w/ algebra equations (wrong formula used in my first 2 posts! ruralkansas Excel Worksheet Functions 2 October 31st 04 09:45 AM


All times are GMT +1. The time now is 08:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"