Posted: Wed Aug 20, 2008 1:43 pm Post subject: Выпадающие списки в Excel
URDo wrote:
Добрый день.
У меня есть вопрос по работе с выпадающими списками в Экселе. Нужно управлять ими через средства абап. У Вас не моглибы вы чтонибудь посоветовать в духе темы http://www.sapnet.ru/viewtopic.php?t=1301
Code:
REPORT z_excel_dropdown.
INCLUDE ole2incl.
CONSTANTS: xlValidateList TYPE i VALUE 3,
xlValidAlertStop TYPE i VALUE 1,
xlBetween TYPE i VALUE 1.
* handles for OLE objects
DATA: h_excel TYPE ole2_object, " Excel object
h_mapl TYPE ole2_object, " list of workbooks
h_map TYPE ole2_object, " workbook
h_sheet TYPE ole2_object, " sheet
h_range TYPE ole2_object, " range
h_select TYPE ole2_object, " select
h_valid TYPE ole2_object. " validation
DATA: p1(255) TYPE c.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.