Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 237
Default Installing Personal.xls on other computers

Hey guys

I have a code in my Personal.xls module that I would like
to put on alot of other peoples computer. Is there anyway
to do this without having to mannualy do it? Now Bob
Phillips game me the link to Chip Pearsons website
http://www.cpearson.com/excel/vbe.htm
that allows you to update code on the fly, but I have been
unable to go to that site since I am at work(behind
firewall). I will have to do this when I go home. Im not
sure if this will also work for my issue with Personal.xls.

Any help is appreciated.

Thanx
Todd Huttenstine

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Installing Personal.xls on other computers

Todd,

Loading over Personal.xls is not recommended, as it is as it says, a
personal file Many people will have personal customisations in that file
that you may destroy.

A much better way is to create your code in an addin, distribute that, and
get all the users to load that addin. This is an instruction set on
creating an addin that I got off the net, which I haven't test-run, but I
reprint in lieu of your firewall

Create an addin in Excel 97, 2000, 2002 using VBA in Microsoft Excel




1.. Start the Visual Basic Editor by pressing Alt+F11.
2.. Select Debug, Compile VBA projectname. In previous versions of Excel
the VBA-code was automatically
compiled when you saved the addin. This is no longer true, you have to do
it yourself before you save the addin.
3.. If you want to lock the project from viewing you can select Tools,
Properties for VBA projectname.
In this dialog you activate Protection and check the option Lock project
for viewing.
Fill in a password and click the OK-button.
4.. Activate Excel by pressing Alt+F11.
5.. Select File, Properties..., Summary and fill inn information for the
fields Title and Comments.
The title will be the name that appears in the Add-Ins dialog (the dialog
displaying available add-ins),
the comment will be the description that appears when you select the addin
in the Add-Ins dialog.
Click the OK-button to close the Properties dialog.
6.. Select File, Save as..
7.. Change the option Filetype: to Microsoft Excel addin (*.xla) (the last
choice in the dropdown).
The add-in must contain at least one worksheet if this option is to be
displayed.
8.. Click the Save-button to save the workbook as an addin.
The locking of the project will not take effect until you close and re-open
the workbook.

You can convert a workbook to an addin by changing the property IsAddin to
True for the ThisWorkbook-object.
This must be done from the Visual Basic Editor. When the property is changed
you can save the workbook by
clicking on the Save-toolbarbutt on.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Todd Huttenstine" wrote in message
...
Hey guys

I have a code in my Personal.xls module that I would like
to put on alot of other peoples computer. Is there anyway
to do this without having to mannualy do it? Now Bob
Phillips game me the link to Chip Pearsons website
http://www.cpearson.com/excel/vbe.htm
that allows you to update code on the fly, but I have been
unable to go to that site since I am at work(behind
firewall). I will have to do this when I go home. Im not
sure if this will also work for my issue with Personal.xls.

Any help is appreciated.

Thanx
Todd Huttenstine

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Installing Personal.xls on other computers

You might want to explore putting the code in an XLA add-in
that can be placed on the users' computers, in their start-
up
directories.
Otherwise make a Reference to VBA Extensibility and then
check out the help files

Kevin Beckham


-----Original Message-----
Hey guys

I have a code in my Personal.xls module that I would like
to put on alot of other peoples computer. Is there

anyway
to do this without having to mannualy do it? Now Bob
Phillips game me the link to Chip Pearsons website
http://www.cpearson.com/excel/vbe.htm
that allows you to update code on the fly, but I have

been
unable to go to that site since I am at work(behind
firewall). I will have to do this when I go home. Im

not
sure if this will also work for my issue with

Personal.xls.

Any help is appreciated.

Thanx
Todd Huttenstine

Thank you
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Installing Personal.xls on other computers

Todd,

modifying someone elses personal.xls file is not really sound practice. If
you want to distribute your code you would be better off saving your own
personal.xls under a new name as an addin, then distributing that to your
audience. They can then load the addin and control whether they want your
code loaded or not.

You may also find that attempts to modify personal.xls run into security
problems depending on the users security settings. They may not want to
trust you as a source, may have security set to high, or may have disabled
access to vb projects, all of which would result in errors.

Robin Hammond
www.enhanceddatasystems.com


"Todd Huttenstine" wrote in message
...
Hey guys

I have a code in my Personal.xls module that I would like
to put on alot of other peoples computer. Is there anyway
to do this without having to mannualy do it? Now Bob
Phillips game me the link to Chip Pearsons website
http://www.cpearson.com/excel/vbe.htm
that allows you to update code on the fly, but I have been
unable to go to that site since I am at work(behind
firewall). I will have to do this when I go home. Im not
sure if this will also work for my issue with Personal.xls.

Any help is appreciated.

Thanx
Todd Huttenstine

Thank you



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
Excel on Different Computers jkcates Excel Discussion (Misc queries) 2 April 10th 10 06:04 AM
My addin in other computers Rodrigo Ferreira Excel Worksheet Functions 1 September 15th 06 02:07 AM
Working from 2 computers famdamly Excel Discussion (Misc queries) 8 February 25th 06 11:23 PM
Personal macro workbook and personal.xls John Kilkenny Excel Discussion (Misc queries) 1 June 14th 05 09:43 PM


All times are GMT +1. The time now is 11:16 PM.

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

About Us

"It's about Microsoft Excel"