PC Review


Reply
Thread Tools Rate Thread

How to delete Connections from Excel

 
 
erick-flores
Guest
Posts: n/a
 
      4th Apr 2008
Hello all

I have a Workbook that has 4 pivot tables. Each PT has its own ODBC
connection.

I have a button that sends the workbook via email, but I want to
remove/delete all the connections from the PivotTables because I dont
want the email receiver to be able to refresh the data.

Any ideas? I am using Excel 2003.

Thanks in advance!
 
Reply With Quote
 
 
 
 
Michael
Guest
Posts: n/a
 
      4th Apr 2008
Rather than sending the original file, send a version where you have copied
and pasted values only.
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"erick-flores" wrote:

> Hello all
>
> I have a Workbook that has 4 pivot tables. Each PT has its own ODBC
> connection.
>
> I have a button that sends the workbook via email, but I want to
> remove/delete all the connections from the PivotTables because I dont
> want the email receiver to be able to refresh the data.
>
> Any ideas? I am using Excel 2003.
>
> Thanks in advance!
>

 
Reply With Quote
 
erick-flores
Guest
Posts: n/a
 
      4th Apr 2008
Well....I am aware of that option. But I want to make this automatic
because I will be sending this file every month and I dont want to be
copy-paste every time. I know I can create a macro but there are some
functions in the worksheet that will get lost if I do that...thats why
the best option (I think) is just to send the file but get rid off the
connections. Thanks anyways.
 
Reply With Quote
 
timmg
Guest
Posts: n/a
 
      4th Apr 2008
On Apr 4, 12:07*pm, erick-flores <erickjflo...@gmail.com> wrote:
> Hello all
>
> I have a Workbook that has 4 pivot tables. Each PT has its own ODBC
> connection.
>
> I have a button that sends the workbook via email, but I want to
> remove/delete all the connections from the PivotTables because I dont
> want the email receiver to be able to refresh the data.
>
> Any ideas? * *I am using Excel 2003.
>
> Thanks in advance!


You can choose not to save the data with the Pivot Table - it's an
option in the wizard. The net effect is that the user has a snapshot
of the pivot table at the point you saved it.

If you want the user to have the option to manipulate the data you may
wish to either attach the data to the workbook or maybe create a
compainion db (such as Microsoft Access) that could allow the user to
control the pivot table while you control the data.

Good luck.

Tim Mills-Groninger
 
Reply With Quote
 
erick-flores
Guest
Posts: n/a
 
      4th Apr 2008
Well I put the following code in my send email button

With Destwb.Sheets(1).UsedRange
.Cells.Copy
.Cells.PasteSpecial xlPasteValues
.Cells(1).Select
End With
Application.CutCopyMode = False

just paste everything and that made the connections to go away. Kinda
like what Michael told me.

Thanks.
 
Reply With Quote
 
Michael
Guest
Posts: n/a
 
      4th Apr 2008
You can still do the copying and pasting values (By a sub-routine) and not
loose the formulas you want to keep, just set each section in ranges, some of
them wil paste values the others will paste formulas.
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"erick-flores" wrote:

> Hello all
>
> I have a Workbook that has 4 pivot tables. Each PT has its own ODBC
> connection.
>
> I have a button that sends the workbook via email, but I want to
> remove/delete all the connections from the PivotTables because I dont
> want the email receiver to be able to refresh the data.
>
> Any ideas? I am using Excel 2003.
>
> Thanks in advance!
>

 
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
To many connections (internet), how to delete them? =?Utf-8?B?VGhvbWFzIE3DvGxsZXI=?= Windows Vista Performance 1 18th Jun 2007 11:31 PM
how to delete Network Connections =?Utf-8?B?YmlzaG8=?= Windows XP Accessibility 1 30th Sep 2005 08:01 PM
How do you delete old Calendar Connections? jw Microsoft Outlook Discussion 1 4th Oct 2004 11:29 PM
Can You DELETE all connections and start over? Jefferis NoSpamme Windows XP Networking 0 21st Jun 2004 08:01 PM
can't delete internet connections len Windows XP Networking 1 20th Apr 2004 08:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:03 PM.