LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 161
Default Macros Being Re-Directed

Hi,

I have a fairly large and complex workbook that has started to show some
strange behaviour that I can't explain.

The workbook (let's call it "Source") consists of ten or so separate sheets
each holding different data. Each sheet is hidden until it is used.
Navigation around the workbook is from a single front page that simply has
buttons giving the user a chioce of actions.

One of the options from the Navigation page is to create an extract of all
of the source sheets. The macro that does this simply creates a tremporary
sheet called "Extract" and then cut-and-pastes each of the ten source sheets
into Extract side-by-side. "Extract" is then copied to a new workbook and
which is saved with a specific file name (eg. "<date Extract") and the
temporary sheet in "Source" is deleted.

Until recently, this all worked perfectly happily and I am not aware of any
changes that I have made to the code (with one possible exception - see
below).

When I first open "Source" everything is fine until I run the extract macro
when I get a couple of system-generated error messages; the first tells me
that the file format is different to the extension name and the second that
the macro cannot be found.

What is happening is that when the Extract is run, the path for ALL the
macros in Source (even the ones that are not used when running "Extract") is
changed so that XL is looking in the Extract library for the code - it will
even attempt to open a closed copy of Extract to find the macros.

The only change that I am aware that I have made to my XL installation
recently was to install an add-in to create some thuings called sparklines (a
type of line graph). I have subsequently uninstlled the add-in again, but
this has not been completly successful as every time I open XL now I get an
error message saying the programme cannot be found!

Can anyone suggest what may be happening here 'cos I am at a complete loss.

TIA

Dave
 
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
Macros in Personal.xls that would create two toolbars and buttonswith assigned macros Brian Day Excel Programming 1 March 29th 07 11:20 PM
Programming a Directed Flow Chart RJB Excel Programming 5 March 19th 07 10:21 PM
creating a directed graph from XY scatter Luke Spar UTAFortWorth Charts and Charting in Excel 11 January 25th 05 04:24 AM
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Excel Programming 0 December 12th 04 09:19 PM
User directed graphing? wadep Excel Programming 0 November 10th 04 05:38 AM


All times are GMT +1. The time now is 12:08 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"