LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Message box in excel

Dim sStr as String
sStr = ""C:\Documents and Settings\"
sStr = sStr & "Administrator\My Documents\contract "
sStr = sStr & "work\jackson\AR1\"
sStr = sStr & _
ActiveWorkbook.Worksheets(1) _
.Range("B1").Text
sStr = sStr & ".csv"
ActiveWorkbook.SaveAs _
Filename:=sStr, FileFormat:=xlCSV

Might solve your problem.
Adjust to fit your requirements.
--
Regards,
Tom Ogilvy



"RANDY IN NC"
wrote in message
...

Thank you I have been able to pass the dialog boxes... but I seem to be
having trouble with the name... I inserted the process for the name
that you indicated but I am not doing something right..

Here is what the line from my macro looked like... before. but cannot
change the name as you indicate.. Please let me know what I have
wrong..

ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\Administrator\My Documents\contract
work\jackson\AR1\order2.csv" _
, FileFormat:=xlCSV, CreateBackup:=False

I tried but get an error.."compile error expected end of statment"


Thank you..


--
RANDY IN NC
------------------------------------------------------------------------
RANDY IN NC's Profile:

http://www.excelforum.com/member.php...o&userid=29778
View this thread: http://www.excelforum.com/showthread...hreadid=496249



 
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
EXCEL FORMAT PROBLEM WHEN SENDING EXCEL SHEET AS MESSAGE BODY IN . P.S.Sodha Excel Discussion (Misc queries) 0 April 2nd 05 01:53 PM
Excel Program Error - Excel.exe Generated Errors Message Denise Lane Setting up and Configuration of Excel 4 March 18th 05 10:09 PM
changing the message in an error message The Villages DA Excel Worksheet Functions 2 February 18th 05 05:30 PM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM
Automating Excel WorkBook With C# Suppress Excel Message Boxes Possible? unemotionalhumanoid Excel Programming 1 August 28th 03 02:03 PM


All times are GMT +1. The time now is 10:19 PM.

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

About Us

"It's about Microsoft Excel"