Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-01-2014, 04:19 AM
Smithy02468 Smithy02468 is offline Saves as dialog in Excel Windows 7 64bit Saves as dialog in Excel Office 2010 64bit
Novice
Saves as dialog in Excel
 
Join Date: Oct 2014
Posts: 9
Smithy02468 is on a distinguished road
Default Saves as dialog in Excel

I am trying to set up a spreadsheet where it copies a worksheet to another workbook and brings up the save as dialog box in a specific folder on the network,

the code i am using is as below.



Sheets("Target_Dates").Select
Sheets("Target_Dates").Copy
With Application.Dialogs(xlDialogSaveAs)
.InitialFileName = "N:\BES-DATA\traffman\traffic\"
If Not .Show Then
MsgBox "User cancelled without saving."
Exit Sub
End If
End With

For some reason it does not work and produces an error message "run time error 438 Object does not support this property or methiod"

Any help or suggestion gretly appreciated.

Colin
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Point saves in GREYSCALE! Bluebirdie PowerPoint 2 03-14-2012 11:17 AM
Format Autoshape Dialog Box Crashes Excel BjornP Excel 0 03-01-2012 01:58 PM
OFFICE(Word,Excel..)-crash/close when DIALOG BOX launched of insert image,open file buggingme Office 1 05-30-2010 12:18 AM
Outlook Form that Saves Data to Excel dcbrown Outlook 0 12-29-2008 06:25 PM
Saves as dialog in Excel Method to update saves to all copies aultduell Word 1 11-24-2006 12:50 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft