• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Working with the web

Okay, this is a easy questions, just can't work it out.

Local intranet, they click on a link that takes them to a excel workbook, they make changes  etc etc,

I want then to click File, Save As
QUESTION!! I want them to automatically be in a default directory on the server.

Remember they open the excel in ie via a hyperlink.

Is there a way of making the default directory.

HELP
0
HVAC
Asked:
HVAC
1 Solution
 
dij8Commented:
No.  Although you should be able to add a macro and button to the spreadsheet.  Something along the lines of:
ActiveWorkbook.SaveAs Filename:= _
  "C:\My Documents\details.xls", FileFormat:=xlNormal, _
  Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
  CreateBackup:=False

You could add paramerters to the name that would mean it would never overwrite an existing one like the date or something.
0
 
HVACAuthor Commented:
Remembering that the file would be different everytime, and that I would like them to enter the details into a database via an asp page that would make it difficult.

Would it be better if the save as dialog box appeared and they typed the name? Qiestion how can I get the save as dialog box to appear and have its path predefined.

Thanks for your comments dij8
0
 
dij8Commented:
You can't.  This is a security issue.  The save as dialog value is read only.  If it wasn't you could automate it quite easily.  In which csae you could start overwriting files that already exist.  Like system files!  Very bad.

The best you can do is educate your users.  And even that may not be enough for your preferences because some people like to organise their folders differently.  I know I certainly do.  I often don't install or save to the default folder.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
COBOLdinosaurCommented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I will recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&

0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to dij8

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
DigitalXtremeCommented:
answer force-accepted per recommendation

DigitalXtreme
CS Moderator
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now