PC Review


Reply
Thread Tools Rate Thread

ActiveX control causes "Reset project" notice on file open

 
 
GeoBrooks
Guest
Posts: n/a
 
      26th Mar 2009
I've added two combobox controls to an XL2007 macro-enabled workbook because
I needed to capture their values b4 they were changed. Now when the workbook
is closed, then reopened, I get two "This action will reset your project..."
messages on opening.

I know I can prevent the messages by changing the state of "Notify Before
State Loss" in VB. I need to be able to prevent these messages before
distributing the workbook. How can this be done?

Thanks.

Geo
 
Reply With Quote
 
 
 
 
GeoBrooks
Guest
Posts: n/a
 
      27th Mar 2009
Update:

If saved as an XL2003 workbook and opened in 2003, there are no reset
messages. If the 2003 workbook is opened in 2007 there are no reset
messages. If the 2003 workbook is saved as .xlsm and opened in 2007 the
reset messages reappear.

So, why?

G

"GeoBrooks" wrote:

> I've added two combobox controls to an XL2007 macro-enabled workbook because
> I needed to capture their values b4 they were changed. Now when the workbook
> is closed, then reopened, I get two "This action will reset your project..."
> messages on opening.
>
> I know I can prevent the messages by changing the state of "Notify Before
> State Loss" in VB. I need to be able to prevent these messages before
> distributing the workbook. How can this be done?
>
> Thanks.
>
> Geo

 
Reply With Quote
 
Mahonri
Guest
Posts: n/a
 
      30th Apr 2009
I have the exact same problem. Is there anyone out there that has a
solution?!?

Mahonri

"GeoBrooks" wrote:

> Update:
>
> If saved as an XL2003 workbook and opened in 2003, there are no reset
> messages. If the 2003 workbook is opened in 2007 there are no reset
> messages. If the 2003 workbook is saved as .xlsm and opened in 2007 the
> reset messages reappear.
>
> So, why?
>
> G
>
> "GeoBrooks" wrote:
>
> > I've added two combobox controls to an XL2007 macro-enabled workbook because
> > I needed to capture their values b4 they were changed. Now when the workbook
> > is closed, then reopened, I get two "This action will reset your project..."
> > messages on opening.
> >
> > I know I can prevent the messages by changing the state of "Notify Before
> > State Loss" in VB. I need to be able to prevent these messages before
> > distributing the workbook. How can this be done?
> >
> > Thanks.
> >
> > Geo

 
Reply With Quote
 
Mahonri
Guest
Posts: n/a
 
      30th Apr 2009
I've noticed you've posted this all over the web. If you get a solution,
Could you send it to me if it is not posted here?
davidt(a_t)aristatek(d_ot)com
Thanks

"GeoBrooks" wrote:

> Update:
>
> If saved as an XL2003 workbook and opened in 2003, there are no reset
> messages. If the 2003 workbook is opened in 2007 there are no reset
> messages. If the 2003 workbook is saved as .xlsm and opened in 2007 the
> reset messages reappear.
>
> So, why?
>
> G
>
> "GeoBrooks" wrote:
>
> > I've added two combobox controls to an XL2007 macro-enabled workbook because
> > I needed to capture their values b4 they were changed. Now when the workbook
> > is closed, then reopened, I get two "This action will reset your project..."
> > messages on opening.
> >
> > I know I can prevent the messages by changing the state of "Notify Before
> > State Loss" in VB. I need to be able to prevent these messages before
> > distributing the workbook. How can this be done?
> >
> > Thanks.
> >
> > Geo

 
Reply With Quote
 
GeoBrooks
Guest
Posts: n/a
 
      30th Apr 2009
The only solution I found was starting over in a fresh workbook. I had a
recipe for reproducing the error, but it was only good on my system. I guess
it's nice to know my situation was not unique.

fwiw, here's the recipe:
1. Cells: A1 = 1, A2 = 2, B1 = A, B2 = B
2. Insert ActiveX combobox somewhere on sheet
3. Combobox properties:
a. Column count: 2
b. Column widths: 0;43
c. LinkedCell: A4
d. ListFillRange: A1:B2
4. Make selection from combobox to get entry in Linked cell
5. Save, close then reopen. No error.
6. Change combobox name.
7. Save, close, reopen. Error: “This action will reset…”

Good luck. Be nice to know if you find a solution.

George

"Mahonri" wrote:

> I've noticed you've posted this all over the web. If you get a solution,
> Could you send it to me if it is not posted here?
> davidt(a_t)aristatek(d_ot)com
> Thanks
>
> "GeoBrooks" wrote:
>
> > Update:
> >
> > If saved as an XL2003 workbook and opened in 2003, there are no reset
> > messages. If the 2003 workbook is opened in 2007 there are no reset
> > messages. If the 2003 workbook is saved as .xlsm and opened in 2007 the
> > reset messages reappear.
> >
> > So, why?
> >
> > G
> >
> > "GeoBrooks" wrote:
> >
> > > I've added two combobox controls to an XL2007 macro-enabled workbook because
> > > I needed to capture their values b4 they were changed. Now when the workbook
> > > is closed, then reopened, I get two "This action will reset your project..."
> > > messages on opening.
> > >
> > > I know I can prevent the messages by changing the state of "Notify Before
> > > State Loss" in VB. I need to be able to prevent these messages before
> > > distributing the workbook. How can this be done?
> > >
> > > Thanks.
> > >
> > > Geo

 
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 reset Excel "File Open" from Full Screen to subscreen mode =?Utf-8?B?ZnJlZGpp?= Microsoft Excel Crashes 1 11th May 2007 08:32 PM
File Types in Deployment Project - "Open With" List Mark.V.Sullivan@gmail.com Microsoft Dot NET 3 29th Aug 2006 10:21 PM
File Types in Deployment Project - "Open With" list Paul Sullivan Microsoft C# .NET 1 29th Aug 2006 08:21 AM
Can't open file: "The .VBP file for this project contains aninvalid or corrupt library references ID" Michael Levin Microsoft Excel Discussion 0 21st Jun 2004 01:26 PM
double clicking on an object launches "Search" instead of "open" how do i reset Humphrey O'Leary Windows XP General 3 26th Feb 2004 04:30 AM


Features
 

Advertising
 

Newsgroups
 


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