![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Midlands, UK
Posts: 217
|
Has anyone come across problems using Application.Calculation with a UserForm ?
If I use a UserForm to update data in an XL file I get the following error message when I try & use Application.Calculation any where else Method 'Calculation' of object '_Application' failed |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
What version of Excel are you using ? If excel 97 then try setting your commandbutton property [TakeFocus*******] to False ? This is a known problem for ActiveX control Buttons on Worksheets (xl97), I'm not sure about Userforms ?? I couldn't simulate it in Xl2000. _________________ Kind Regards, Ivan F Moala From the City of Sails ![]() [ This Message was edited by: Ivan F Moala on 2002-05-22 04:31 ] |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Midlands, UK
Posts: 217
|
Yep, I'm on XL 97.
I've tried setting the TakeFocus******* property but still get the error message. Any other ideas ? |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
userform ?? have you set this to False in it's [TakeFocus*******] property ?? |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|