369 / 11 / 1 Регистрация: 23.08.2013 Сообщений: 174 |
|
1 |
|
01.09.2013, 08:23. Показов 10309. Ответов 9
Пользуюсь Excel 2007. Когда у меня стоял Office 2003, то в Word я мог успешно создавать user формы…
0 |
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
01.09.2013, 08:23 |
Ответы с готовыми решениями:
Не создается форма Не создается GUI форма
9 |
Заблокирован |
|
01.09.2013, 08:45 |
2 |
выскакивает какая-то ошибка И Вы предлагаете угадать её содержание?
1 |
ikki |
01.09.2013, 10:12
|
Не по теме:
клавишу с toolbar а там реально есть клавиши? вы уверены, что ваш Excel сделан не в Одессе, на Малой Арнаутской?
1 |
369 / 11 / 1 Регистрация: 23.08.2013 Сообщений: 174 |
|
01.09.2013, 15:31 [ТС] |
4 |
И Вы предлагаете угадать её содержание? буду рядом с компьютером, тогда посмотрю… Добавлено через 2 минуты
Не по теме: а там реально есть клавиши? вы уверены, что ваш Excel сделан не в Одессе, на Малой Арнаутской? записал макрос и хотел сделать, чтобы он запускался не с помощью клавиатуры, а с помощью экранной формы. Но экранную форму создать не удается, хотя в самоучителе по Excel написано, что ее можно создать. Добавлено через 1 час 2 минуты
И Вы предлагаете угадать её содержание? Выскакивает окно: Could not complete the operation due to error 800a0011
0 |
3217 / 966 / 223 Регистрация: 29.05.2010 Сообщений: 2,085 |
|
01.09.2013, 16:44 |
5 |
Решение Вот, что нашел в инете: A quick Google suggests that this error occurs because you are trying to change a UserForm whilst still running a macro (I haven’t checked this). You need to reset your project before editing your form — press the square icon on your Visual Basic toolbar. В общем надо остановить выполнения макроса… и только потом редактировать форму.
3 |
369 / 11 / 1 Регистрация: 23.08.2013 Сообщений: 174 |
|
01.09.2013, 21:33 [ТС] |
6 |
toiai, Да! Помогло Но теперь вопрос номер 2, как сделать что бы эта user форма отображалась сразу же при открытии файла? Попытаюсь поискать в самоучителе, хотя там, вероятно этого нет…
0 |
Аксима 6077 / 1321 / 195 Регистрация: 12.12.2012 Сообщений: 1,023 |
||||
01.09.2013, 22:20 |
7 |
|||
Softkhoz, если я правильно понял ваш вопрос, то вам надо сделать следущее: 1) в модуле ThisWorkbook (или ЭтаКнига) создать событие Workbook_Open 2) в нем прописать следующее:
Где [имя_формы] — имя (Name) формы, которую вы хотите отобразить при открытии файла (не путать с заголовком (Caption)). С уважением,
1 |
369 / 11 / 1 Регистрация: 23.08.2013 Сообщений: 174 |
|
01.09.2013, 23:08 [ТС] |
8 |
Aksima, спасибо! Обнружил еще одну неприятность. Когда отображается окно, заданное мной, то при нажатии на клавишу в этом окне выполняется макрос, но само окно Excel с открытым листом при этом становится неактивным. И даже не сворячивается, пока не закроешь окно user формы. Можно ли сделать так, чтобы оба этих окна были активными? Добавлено через 4 минуты
0 |
Заблокирован |
||||
02.09.2013, 05:20 |
9 |
|||
1.
чтобы оба этих окна были активными?
2. Правой кнопкой мыши по фигуре — Назначить макрос…
1 |
369 / 11 / 1 Регистрация: 23.08.2013 Сообщений: 174 |
|
02.09.2013, 23:17 [ТС] |
10 |
Результаты труда есть и они меня приятно удивили (могу выложить, если хотите)!
0 |
I had this error coming up recently, I fixed it with the following chceck:
var sel = window.document.getSelection();
if (sel.rangeCount > 0 && sel.getRangeAt(0).getClientRects().length > 0) {
sel.removeAllRanges();
}
answered Oct 22, 2015 at 10:43
3
I got this error when trying to window.getSelection().removeAllRanges();
and there was no selection. One workaround is to check if there is a selection first:
if (window.getSelection().getRangeAt(0).getClientRects().length > 0) {
window.getSelection().removeAllRanges();
}
answered Sep 5, 2015 at 5:43
Dan DascalescuDan Dascalescu
141k51 gold badges314 silver badges402 bronze badges
1
All the error 80020101 means is that there was an error, of some sort, while evaluating JavaScript. If you load that JavaScript via Ajax, the evaluation process is particularly strict.
Could not complete the operation due to error 80020101. IE
answered Jun 9, 2014 at 19:30
maurycymaurycy
8,4541 gold badge27 silver badges44 bronze badges
1
Приложения WinForms
Компонент webBrowser
Студия 2015 PRE ComunityEdition
Оба варианта выдают ошибку.
С картинокй проблем нету она копируется ну при этом вылазит ошибка.
mshtml.HTMLWindow2 w2 = webBrowser1.Document.Window.DomWindow as mshtml.HTMLWindow2;
//1-ий вариант
//w2.execScript("var ctrlRange = document.body.createControlRange();ctrlRange.add(document.getElementsByTagName('IMG')[0]);ctrlRange.execCommand('Copy');", "javascript");
//2-ой вариант
w2.execScript("<script type = 'text/javascript'><!--//--><![CDATA[//><!--var ctrlRange = document.body.createControlRange(); ctrlRange.add(document.getElementsByTagName('IMG')[0]); ctrlRange.execCommand('Copy');//--><!]]></script>", "javascript");
I’m on Photoshop 22.3.0 and the Save for Web feature is completely broken for me. Clicking the «Save for Web (Legacy)» menu item always causes a generic error message saying «The operation could not be completed» to pop up.
Things I’ve tried that didn’t work:
— reinstalling photoshop via the creative cloud app
— resetting the preferences
— rebooting (and doing the above things again for good measure)
— running photoshop with elevated privileges to rule out permission problems
My system info (as generated by photoshop) is attached as a text file.
A solution or a workaround would be much appreciated.
- Remove From My Forums
-
Question
-
User1871662097 posted
Hi,
We are using jquery-1.7.1.min.js for some of the oprations; we have created jquery tab;
the tab display proper in IE 8 and above version; But when we change the document mode to IE7 Standard;
it throws error as below
Message: Could not complete the operation due to error 80020101.
Line: 2
Char: 11482
Code: 0
In Scrips/jquery-1.7.1.min.js
Please help out to resolve this problem
Answers
-
User-276842610 posted
Hello,
base on my research, error 80020101 is an AJAX error. you may share a simple sample for us to reprodcue this issue.
I found a ticket on the same issue. Please try the way explained in that
http://bugs.jquery.com/ticket/9221
Thanks.
-
Marked as answer by
Thursday, October 7, 2021 12:00 AM
-
Marked as answer by