PC Review


Reply
Thread Tools Rate Thread

Change the code in another worksheet

 
 
keri
Guest
Posts: n/a
 
      30th Jun 2007
Hi,

I have made a spreadsheet that has been distributed to 100 + people. I
have noticed an error in the code. Instead of re-distributing the
spreadsheet to everybody I want to send out a "program" that will
change the error.

Here's how I imagine it working;

User is e-mailed a spreadhseet "Fix"
User opens spreadsheet "Fix" and clicks button
Button calls code which opens a select file dialog box for the user to
select the "original" file
Code then opens the "original file" finds the incorrect code, changes
it and saves the file
Code closes the "Fix" and deletes it from the system

I have a feeling this "may" be possible but could also be problematic.
However this is the only way I can think of without re-distributing
new spreadsheets which is a massive task. Seeing as I wrote the code
in the first one will this work?

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RlN0MQ==?=
Guest
Posts: n/a
 
      30th Jun 2007
hi
See this site on how to do the fix.
http://cpearson.com/excel/vbe.htm

regards
FSt1

"keri" wrote:

> Hi,
>
> I have made a spreadsheet that has been distributed to 100 + people. I
> have noticed an error in the code. Instead of re-distributing the
> spreadsheet to everybody I want to send out a "program" that will
> change the error.
>
> Here's how I imagine it working;
>
> User is e-mailed a spreadhseet "Fix"
> User opens spreadsheet "Fix" and clicks button
> Button calls code which opens a select file dialog box for the user to
> select the "original" file
> Code then opens the "original file" finds the incorrect code, changes
> it and saves the file
> Code closes the "Fix" and deletes it from the system
>
> I have a feeling this "may" be possible but could also be problematic.
> However this is the only way I can think of without re-distributing
> new spreadsheets which is a massive task. Seeing as I wrote the code
> in the first one will this work?
>
>

 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      1st Jul 2007
If you password protected the code in that workbook, it will be very close to
impossible to use that approach.

--
Regards,
Tom Ogilvy


"FSt1" wrote:

> hi
> See this site on how to do the fix.
> http://cpearson.com/excel/vbe.htm
>
> regards
> FSt1
>
> "keri" wrote:
>
> > Hi,
> >
> > I have made a spreadsheet that has been distributed to 100 + people. I
> > have noticed an error in the code. Instead of re-distributing the
> > spreadsheet to everybody I want to send out a "program" that will
> > change the error.
> >
> > Here's how I imagine it working;
> >
> > User is e-mailed a spreadhseet "Fix"
> > User opens spreadsheet "Fix" and clicks button
> > Button calls code which opens a select file dialog box for the user to
> > select the "original" file
> > Code then opens the "original file" finds the incorrect code, changes
> > it and saves the file
> > Code closes the "Fix" and deletes it from the system
> >
> > I have a feeling this "may" be possible but could also be problematic.
> > However this is the only way I can think of without re-distributing
> > new spreadsheets which is a massive task. Seeing as I wrote the code
> > in the first one will this work?
> >
> >

 
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
How to get worksheet change code to work on protected worksheet? StargateFan Microsoft Excel Programming 4 16th Feb 2009 02:40 PM
Change criteria for worksheet change code. J.W. Aldridge Microsoft Excel Programming 5 11th Oct 2008 10:04 PM
Run VBA code only worksheet change, but don't trigger worksheet_change event based on what the code does ker_01 Microsoft Excel Programming 6 3rd Oct 2008 09:45 PM
Code Conflicts With Worksheet Change Code =?Utf-8?B?UGFpZ2U=?= Microsoft Excel Programming 3 3rd Mar 2006 04:25 PM
Worksheet Change event code moved to Worksheet Calculate event... and it's not working KimberlyC Microsoft Excel Programming 5 23rd Jun 2005 10:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:38 PM.