button looking for old file?

kimberly13

New Member
Joined
Apr 11, 2003
Messages
35
Well. I have created a dialog box, which is activated by a command button on another worksheet. I first created it ina workbook called bidding april29, my boss has combined what I was doing with what he was doing and now it is calling bidding may2003. BUT when I push the button to run the dialog box, if opens the old file to run it?? Smarty me :LOL: , thought just move the old file and it would fix its self - - dumb move :cry: now i just get an error??

Any suggestions??? Other than start over!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Open workbook with button & the one with correct macro.

Right click on the button and Assign Macro.
 
Upvote 0
ok, either it is a really bad blonde day or Monday all over!! I tied what was suggested and didnt see an option to assign macro.???
 
Upvote 0
Probably using the button from the Control Toolbar.

Rightclick existing toolbar to get list/Control toolbar. Click on pencil/setsquare button ("Design mode" - stops button working). Doubleclick your button to get to the OnClick event and see what's there (or what workbook it's in).

Probably need to delete button & put another one to point to the proper workbook.

I don't recommend controls from the Control Toolbar - bug ridden. Use Forms Toolbar instead when poss. Not so many properties - but they work better. Might get away with just the button though.

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,221,709
Messages
6,161,427
Members
451,705
Latest member
Priti_190

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top