Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mysterious " " in SaveAs Dialog Box
Code is as follows
sStr = "S:\Orders\" & Range("C4") & ".xls" Application.Dialogs(xlDialogSaveAs).Show sStr Assume C4 describes me... The Save As Dialog box pops up (like it shoud), the File Name Text Box Has the words: Mike is an Idiot.xls (Like it should), but Mike is an Idiot is in quotation marks like this: "Mike is an Idiot.xls" The quotes aren't there in C4 but they appear in the SaveAs Dialog box. Why? Does it matter? What could it affect? How do I get Rid of them? DEATH TO THE QUOTES!!!! -Mike |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mysterious " " in SaveAs Dialog Box
I couldn't reproduce your error. How do you have sStr declared? -- bhofsetz ------------------------------------------------------------------------ bhofsetz's Profile: http://www.excelforum.com/member.php...o&userid=18807 View this thread: http://www.excelforum.com/showthread...hreadid=379527 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mysterious " " in SaveAs Dialog Box
Look at my response in .worksheet.functions.
-- Vasant "Mike" wrote in message ... Code is as follows sStr = "S:\Orders\" & Range("C4") & ".xls" Application.Dialogs(xlDialogSaveAs).Show sStr Assume C4 describes me... The Save As Dialog box pops up (like it shoud), the File Name Text Box Has the words: Mike is an Idiot.xls (Like it should), but Mike is an Idiot is in quotation marks like this: "Mike is an Idiot.xls" The quotes aren't there in C4 but they appear in the SaveAs Dialog box. Why? Does it matter? What could it affect? How do I get Rid of them? DEATH TO THE QUOTES!!!! -Mike |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Mysterious " " in SaveAs Dialog Box
I got the same issue and posted a similar question in theis forum The only way I found to get around it is to use the sendkeys option with the file name you want to save. -- jmoffat ------------------------------------------------------------------------ jmoffat's Profile: http://www.excelforum.com/member.php...fo&userid=1151 View this thread: http://www.excelforum.com/showthread...hreadid=379527 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Mysterious "Arc" appearing at the bottom of the page | Excel Discussion (Misc queries) | |||
How to delete the "Insert Function Dialog Box" (dialog box only)? | Excel Worksheet Functions | |||
Scroll Bar missing "Control" tab in "Format Properties" dialog box | Excel Discussion (Misc queries) | |||
Mysterious "Identify Label" is crashing Excel | Excel Programming | |||
When is "?" really a "?" (.SaveAs with Chinese chars) | Excel Programming |