#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Links Box

Hi.

Users of my spreadsheet are opening the file are being asked whether they
want to update links or edit links. I want this box not to appear. I've been
into options but these rules vary from machine to machine. I need some code
that will absoloutley not allow this box or options to show.

I'm eternally grateful to any genius who kindly responds with an equally
genius answer...

Thanks

Gordon
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Links Box

Saved from a previous post:

You can toggle the setting (user by user, though) via:

Tools|Options|Edit Tab.
There's a checkmark for "ask to update automatic links"

But this means that you suppress the question--the links still get updated.

This setting is for the individual user--and affects all their workbooks.

If you want more control:
Try creating a dummy workbook whose only purpose is to open the original
workbook with links updated:

Kind of like:

Option Explicit
Sub auto_open()
Workbooks.Open Filename:="c:\my documents\excel\book2.xls", UpdateLinks:=1
ThisWorkbook.Close savechanges:=False
End Sub

Then you open the dummy workbook and the links will be refreshed.
(read about that UpdateLinks argument in VBA's help.)

Gordon wrote:

Hi.

Users of my spreadsheet are opening the file are being asked whether they
want to update links or edit links. I want this box not to appear. I've been
into options but these rules vary from machine to machine. I need some code
that will absoloutley not allow this box or options to show.

I'm eternally grateful to any genius who kindly responds with an equally
genius answer...

Thanks

Gordon


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Links Box

Hi Dave...

Neither of these sit well with what I'm trying to do. I need a bigger stick
to sort this one out so that every user on any machine will never be asked. I
haven't given up hope yet!

Thanks

Gordon...

"Dave Peterson" wrote:

Saved from a previous post:

You can toggle the setting (user by user, though) via:

Tools|Options|Edit Tab.
There's a checkmark for "ask to update automatic links"

But this means that you suppress the question--the links still get updated.

This setting is for the individual user--and affects all their workbooks.

If you want more control:
Try creating a dummy workbook whose only purpose is to open the original
workbook with links updated:

Kind of like:

Option Explicit
Sub auto_open()
Workbooks.Open Filename:="c:\my documents\excel\book2.xls", UpdateLinks:=1
ThisWorkbook.Close savechanges:=False
End Sub

Then you open the dummy workbook and the links will be refreshed.
(read about that UpdateLinks argument in VBA's help.)

Gordon wrote:

Hi.

Users of my spreadsheet are opening the file are being asked whether they
want to update links or edit links. I want this box not to appear. I've been
into options but these rules vary from machine to machine. I need some code
that will absoloutley not allow this box or options to show.

I'm eternally grateful to any genius who kindly responds with an equally
genius answer...

Thanks

Gordon


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Links Box

Please post back when you find a better solution.

Gordon wrote:

Hi Dave...

Neither of these sit well with what I'm trying to do. I need a bigger stick
to sort this one out so that every user on any machine will never be asked. I
haven't given up hope yet!

Thanks

Gordon...

"Dave Peterson" wrote:

Saved from a previous post:

You can toggle the setting (user by user, though) via:

Tools|Options|Edit Tab.
There's a checkmark for "ask to update automatic links"

But this means that you suppress the question--the links still get updated.

This setting is for the individual user--and affects all their workbooks.

If you want more control:
Try creating a dummy workbook whose only purpose is to open the original
workbook with links updated:

Kind of like:

Option Explicit
Sub auto_open()
Workbooks.Open Filename:="c:\my documents\excel\book2.xls", UpdateLinks:=1
ThisWorkbook.Close savechanges:=False
End Sub

Then you open the dummy workbook and the links will be refreshed.
(read about that UpdateLinks argument in VBA's help.)

Gordon wrote:

Hi.

Users of my spreadsheet are opening the file are being asked whether they
want to update links or edit links. I want this box not to appear. I've been
into options but these rules vary from machine to machine. I need some code
that will absoloutley not allow this box or options to show.

I'm eternally grateful to any genius who kindly responds with an equally
genius answer...

Thanks

Gordon


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Links Box

How much data are you talking? You could write you own code using events to
read / write to the database so there would be no prompting.
Paul D

"Gordon" wrote in message
...
: Hi Dave...
:
: Neither of these sit well with what I'm trying to do. I need a bigger
stick
: to sort this one out so that every user on any machine will never be
asked. I
: haven't given up hope yet!
:
: Thanks
:
: Gordon...
:
: "Dave Peterson" wrote:
:
: Saved from a previous post:
:
: You can toggle the setting (user by user, though) via:
:
: Tools|Options|Edit Tab.
: There's a checkmark for "ask to update automatic links"
:
: But this means that you suppress the question--the links still get
updated.
:
: This setting is for the individual user--and affects all their
workbooks.
:
: If you want more control:
: Try creating a dummy workbook whose only purpose is to open the original
: workbook with links updated:
:
: Kind of like:
:
: Option Explicit
: Sub auto_open()
: Workbooks.Open Filename:="c:\my documents\excel\book2.xls",
UpdateLinks:=1
: ThisWorkbook.Close savechanges:=False
: End Sub
:
: Then you open the dummy workbook and the links will be refreshed.
: (read about that UpdateLinks argument in VBA's help.)
:
: Gordon wrote:
:
: Hi.
:
: Users of my spreadsheet are opening the file are being asked whether
they
: want to update links or edit links. I want this box not to appear.
I've been
: into options but these rules vary from machine to machine. I need some
code
: that will absoloutley not allow this box or options to show.
:
: I'm eternally grateful to any genius who kindly responds with an
equally
: genius answer...
:
: Thanks
:
: Gordon
:
: --
:
: Dave Peterson
:




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Links Box

Hi...

Is there code for not showing dialogue boixes or something like that?

"PaulD" wrote:

How much data are you talking? You could write you own code using events to
read / write to the database so there would be no prompting.
Paul D

"Gordon" wrote in message
...
: Hi Dave...
:
: Neither of these sit well with what I'm trying to do. I need a bigger
stick
: to sort this one out so that every user on any machine will never be
asked. I
: haven't given up hope yet!
:
: Thanks
:
: Gordon...
:
: "Dave Peterson" wrote:
:
: Saved from a previous post:
:
: You can toggle the setting (user by user, though) via:
:
: Tools|Options|Edit Tab.
: There's a checkmark for "ask to update automatic links"
:
: But this means that you suppress the question--the links still get
updated.
:
: This setting is for the individual user--and affects all their
workbooks.
:
: If you want more control:
: Try creating a dummy workbook whose only purpose is to open the original
: workbook with links updated:
:
: Kind of like:
:
: Option Explicit
: Sub auto_open()
: Workbooks.Open Filename:="c:\my documents\excel\book2.xls",
UpdateLinks:=1
: ThisWorkbook.Close savechanges:=False
: End Sub
:
: Then you open the dummy workbook and the links will be refreshed.
: (read about that UpdateLinks argument in VBA's help.)
:
: Gordon wrote:
:
: Hi.
:
: Users of my spreadsheet are opening the file are being asked whether
they
: want to update links or edit links. I want this box not to appear.
I've been
: into options but these rules vary from machine to machine. I need some
code
: that will absoloutley not allow this box or options to show.
:
: I'm eternally grateful to any genius who kindly responds with an
equally
: genius answer...
:
: Thanks
:
: Gordon
:
: --
:
: Dave Peterson
:



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Links Box

Well if I was going to look for a way to suppress the dialog, I would see if
Excel had a registry value that stored the option for showing the updated
linked tables dialog. However, most likely any changes you make to the
registry settings will not take affect until the next time you open Excel.
And for my $0.02, I think it's bad programming to change someones global
settings without changing them back.

My response was to populate the data with your own macro when the user opens
it, this means you do not use a linked sheet and therefore will not get any
dialog promps. Then using the save event write the data back to the
database. You would have to do a lot of data validation so this is no small
task if you are dealing with lots of data.
Paul D

"Gordon" wrote in message
...
: Hi...
:
: Is there code for not showing dialogue boixes or something like that?
:
: "PaulD" wrote:
:
: How much data are you talking? You could write you own code using
events to
: read / write to the database so there would be no prompting.
: Paul D
:
: "Gordon" wrote in message
: ...
: : Hi Dave...
: :
: : Neither of these sit well with what I'm trying to do. I need a bigger
: stick
: : to sort this one out so that every user on any machine will never be
: asked. I
: : haven't given up hope yet!
: :
: : Thanks
: :
: : Gordon...
: :
: : "Dave Peterson" wrote:
: :
: : Saved from a previous post:
: :
: : You can toggle the setting (user by user, though) via:
: :
: : Tools|Options|Edit Tab.
: : There's a checkmark for "ask to update automatic links"
: :
: : But this means that you suppress the question--the links still get
: updated.
: :
: : This setting is for the individual user--and affects all their
: workbooks.
: :
: : If you want more control:
: : Try creating a dummy workbook whose only purpose is to open the
original
: : workbook with links updated:
: :
: : Kind of like:
: :
: : Option Explicit
: : Sub auto_open()
: : Workbooks.Open Filename:="c:\my documents\excel\book2.xls",
: UpdateLinks:=1
: : ThisWorkbook.Close savechanges:=False
: : End Sub
: :
: : Then you open the dummy workbook and the links will be refreshed.
: : (read about that UpdateLinks argument in VBA's help.)
: :
: : Gordon wrote:
: :
: : Hi.
: :
: : Users of my spreadsheet are opening the file are being asked
whether
: they
: : want to update links or edit links. I want this box not to appear.
: I've been
: : into options but these rules vary from machine to machine. I need
some
: code
: : that will absoloutley not allow this box or options to show.
: :
: : I'm eternally grateful to any genius who kindly responds with an
: equally
: : genius answer...
: :
: : Thanks
: :
: : Gordon
: :
: : --
: :
: : Dave Peterson
: :
:
:
:


Reply
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
Slow opening links between workbooks with links created in 2003 Russell Excel Discussion (Misc queries) 0 December 14th 09 02:59 PM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
Edit Links: Changing links on a protected worksheet Halibut68 Excel Discussion (Misc queries) 0 April 28th 06 11:03 AM
EXCEL - LINKS cannot easily get list of all links & names in book Tuba Joe Excel Worksheet Functions 1 September 29th 05 10:33 PM
can't update links...can't find links GJR3599 Excel Discussion (Misc queries) 1 April 4th 05 04:56 PM


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

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

About Us

"It's about Microsoft Excel"