PC Review


Reply
Thread Tools Rate Thread

Automatically Answer Prompts

 
 
leann.stout@iowa.gov
Guest
Posts: n/a
 
      28th Jun 2007
I have an Excel workbook that links to other excel workbooks, links to
MS access queries and contains macros that update other workbooks.
When you open this workbook, there are several prompts that a user has
to go through before viewing the data (Enable/Disable macros, Update
Links, Enable/Disable Auto Refresh, Password protected). What is the
easiest way to programatically answer all of the prompts. Only a few
users actually know the password to update the data. My goal is for
the majority of users to open an Excel document and see updated data
(coming from other Excel and Access sources).

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      28th Jun 2007
Create a dummy workbook that the user opens instead. In the workbook_Open
event, put in code tha, opens the subject workbook using the Workbook_Open
method and closes the dummy workbook.

Look in Excel vba help at the Workbooks_Open method. It takes arguments
that will answer many of the questions the user is seeing (and they won't be
prompted).

--
Regards,
Tom Ogilvy



"(E-Mail Removed)" wrote:

> I have an Excel workbook that links to other excel workbooks, links to
> MS access queries and contains macros that update other workbooks.
> When you open this workbook, there are several prompts that a user has
> to go through before viewing the data (Enable/Disable macros, Update
> Links, Enable/Disable Auto Refresh, Password protected). What is the
> easiest way to programatically answer all of the prompts. Only a few
> users actually know the password to update the data. My goal is for
> the majority of users to open an Excel document and see updated data
> (coming from other Excel and Access sources).
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using ASK and REF to create template that automatically prompts fo Kurt Microsoft Word Document Management 1 7th Feb 2009 06:22 AM
Vista can not use the 'Enter' key to answer prompts? =?iso-8859-1?Q?JethroUK=A9?= Windows Vista General Discussion 4 29th Sep 2007 04:19 PM
How do I set up a document template that automatically prompts fo. =?Utf-8?B?R2lybEZyaWRheQ==?= Microsoft Word Document Management 1 18th Nov 2004 08:38 PM
Re: How to overwright a file and answer prompts in a macro Frank Kabel Microsoft Excel Misc 2 13th Jul 2004 06:52 PM
Responding to prompts automatically Frank Kabel Microsoft Excel Programming 0 4th May 2004 05:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:02 AM.