Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Change the code in another worksheet

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?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Change the code in another worksheet

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?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Change the code in another worksheet

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
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
change the name of a worksheet/update VBA code Dave F[_2_] Excel Discussion (Misc queries) 1 June 8th 07 09:22 PM
Change Code from a Worksheet FIRSTROUNDKO via OfficeKB.com Excel Programming 2 August 14th 06 10:11 PM
Code to change formulae on worksheet? Simon Lloyd[_831_] Excel Programming 6 July 24th 06 03:49 PM
Code Conflicts With Worksheet Change Code Paige Excel Programming 3 March 3rd 06 04:25 PM
Worksheet change code Frank Kabel Excel Programming 1 July 27th 04 04:58 PM


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

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"