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: 1
Default Problem assigning macro to button?

I have a workbook which is used by 100+ users across the country. So fa
the workbook has been in place for 1month and I've had 2 user
experience this problem...

- The user clicks a button on the main workbook which opens anothe
workbook (works fine!).
- Within this new book the user now fills out some information the
clicks a button to save, summarise and close the workbook (VBA macro
This is where sometimes a problem arises...

The macro which is assigned to the button resides in the main workboo
and on occasions when the user clicks the button a small box pops u
asking for the write access password to the main workbook or if th
user wishes to open with Read-Only access. Entering the password o
clicking the Read-Only button both result in an error saying the macr
couldnt be located! After which the main workbook is no longer open?!

I'm having real difficulty working out what the problem is as the mai
workbook is ALWAYS open. So there should be no reason for the promp
for password/read-only! But once the prompt has come up the mai
workbook is then closed?!

The only current way i've found to overide this problem is to manual
execute the macro; clicking tools, macro, macros, locate the relevan
macro, edit, F8 then F5.

If i try just to goto tools, macro, macros, locate the relevant macr
then hit run I get exactly the same problem as when pressing the butto
which should execute the macro!

--
Message posted from http://www.ExcelForum.com

 
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
Assigning A Macro to A Button Holly Excel Worksheet Functions 1 January 18th 08 10:04 AM
Problem assigning macro to menu button Robert Moore Excel Worksheet Functions 0 August 13th 07 08:26 AM
assigning a macro to a button Darby Excel Discussion (Misc queries) 2 February 10th 06 05:05 PM
Assigning macro to button d Excel Discussion (Misc queries) 0 August 22nd 05 01:40 PM
Assigning a macro to a "button" Yvon Excel Discussion (Misc queries) 6 February 8th 05 10:58 PM


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