亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? test.bas

?? 一個可以讓powerbasic直接創建 Excel 的dll 模塊
?? BAS
字號:

#COMPILE EXE

#INCLUDE "Excel.inc"

%XLSFALSE = 0
%XLSTRUE = NOT %XLSFALSE


FUNCTION PBMAIN() AS LONG


    starttime! = TIMER
    'enable the buffer. This is optional, but enabling a buffer will speed
    'up file access.
    stat& = xlsBuffer(%XLSTRUE, (512 * 1024))  'a 512K buffer

    'Create the new spreadsheet
    mFileName$ = ".\vbtest.xls"  'create spreadsheet in the current directory
    stat& = xlsCreateFile(mFileName$)
    'stat& returns non-zero if an error occured.
    
    'set a Password for the file. If set, the rest of the spreadsheet will
    'be encrypted. If a password is used it must immediately follow the
    'xlsCreateFile function call.
    
    'This is different then protecting the spreadsheet (see below).
    'NOTE: For some reason this function does not work. Excel will
    'recognize that the file is password protected, but entering the password
    'will not work. Also, the file is not encrypted. Therefore, do not use
    'this function until I can figure out why it doesn't work. There is not
    'much documentation on this function available.
    'stat& = xlsSetFilePassword("PAUL_SQUIRES")
        
    
    'specify whether to print the gridlines or not
    'this should come before the setting of fonts and margins
    stat& = xlsPrintGridLines(%XLSTRUE)
    
    
    'it is a good idea to set margins, fonts and column widths
    'prior to writing any text/numerics to the spreadsheet. These
    'should come before setting the fonts.
    
    stat& = xlsSetMargin(%xlsTopMargin, 1.5)   'set to 1.5 inches
    stat& = xlsSetMargin(%xlsLeftMargin, 1.5)
    stat& = xlsSetMargin(%xlsRightMargin, 1.5)
    stat& = xlsSetMargin(%xlsBottomMargin, 1.5)
    
    
    'Up to 4 fonts can be specified for the spreadsheet. This is a
    'limitation of the Excel 2.1 format. For each value written to the
    'spreadsheet you can specify which font to use.
    
    stat& = xlsSetFont("Arial", 10, %xlsNoFormat)             'font0
    stat& = xlsSetFont("Arial", 10, %xlsBold)                 'font1
    stat& = xlsSetFont("Arial", 10, %xlsBold + %xlsUnderline) 'font2
    stat& = xlsSetFont("Courier", 18, %xlsItalic)             'font3
    
    
    'Column widths are specified in Excel as 1/256th of a character.
    stat& = xlsSetColumnWidth(1, 1, 50)
    
    'set the global row height for the entire spreadsheet
    stat& = xlsSetDefaultRowHeight(16)
    
    'set the height of the first two rows a little bigger to allow for the 
    'title of the spreadsheet.
    stat& = xlsSetRowHeight(1, 24)
    stat& = xlsSetRowHeight(2, 24)
    
    
    'set any header or footer that you want to print on
    'every page. This text will be centered at the top and/or
    'bottom of each page. The font will always be the font that
    'is specified as font0, therefore you should only set the
    'header/footer after specifying the fonts through SetFont.
    stat& = xlsSetHeader("This is the header")
    stat& = xlsSetFooter("This is the footer")
    
    
    'write some data to the spreadsheet
    stat& = xlsWriteInteger(20, 6, 1, %xlsFont0, %xlsLeftAlign, %xlsCellNormal, 0)
    
    'write a cell with a shaded number with a bottom border
    stat& = xlsWriteNumber(12123.456, 7, 1, %xlsFont1, %xlsrightAlign + %xlsBottomBorder + %xlsShaded, %xlsCellNormal, 0)
    
    'write a normal left aligned string using font2 (bold & underline)
    stat& = xlsWriteText("This is a test string", 8, 1, %xlsFont2, %xlsLeftAlign, %xlsCellNormal, 0)
    
    'write a locked cell. The cell will not be able to be overwritten, BUT you
    'must set the sheet PROTECTION to on before it will take effect!!!
    stat& = xlsWriteText("This cell is locked.", 9, 1, %xlsFont3, %xlsLeftAlign, %xlsCellLocked, 0)
    
    'fill the cell with "F"'s
    stat& = xlsWriteText("F", 10, 1, %xlsFont3, %xlsFillCell, %xlsCellNormal, 0)
    
    'write a hidden cell to the spreadsheet. This only works for cells
    'that contain formulae. Text, Number, Integer value text can not be hidden
    'using this feature. It is included here for the sake of completeness.
    stat& = xlsWriteText("If this were a formula it would be hidden!", 11, 1, %xlsFont0, %xlsCentreAlign, %xlsCellHidden, 0)
    
    'write a date to the file. Dates can be written as literal text strings but doing so will not allow
    'the date to be formatted. The date will be eventually written as a number after conversion to a
    'Julian date number.
    'Write todays date..... Use format #12 mm/dd/yy (you can change the different formats by modifying
    'the code in xlsWriteDefaultFormats. The date is expected to be in the YYYYMMDD format. You can convert
    'from mm-dd-yyyy format to YYYYMMDD by calling the CTOD$ function.
    mDate$ = CTOD$(DATE$)
    stat& = xlsWriteDate(mDate$, 15, 1, %xlsFont1, %xlsLeftAlign, %xlsCellNormal, 12)
    
    mDate$ = "19991128"
    stat& = xlsWriteDate(mDate$, 16, 1, %xlsFont1, %xlsLeftAlign, %xlsCellNormal, 13)

    mDate$ = "20000331"
    stat& = xlsWriteDate(mDate$, 17, 1, %xlsFont1, %xlsLeftAlign, %xlsCellNormal, 14)
    
    mDate$ = "20010630"
    stat& = xlsWriteDate(mDate$, 18, 1, %xlsFont1, %xlsLeftAlign, %xlsCellNormal, 15)

    mDate$ = "19991023"
    stat& = xlsWriteDate(mDate$, 19, 1, %xlsFont1, %xlsLeftAlign, %xlsCellNormal, 20)
    
    'insert a page break
    stat& = xlsInsertHorizPageBreak(20)
    
    
    'write consecutive numbers in the column
    'This demonstrates that this Excel code can exceed the normal BIFF 2.1 and Excel 95 row limit
    'of 32,767 rows.
    NumRows& = 50000
    FOR x# = 1 TO NumRows&
        stat& = xlsWriteNumber(x#, 20+x#, 1, %xlsFont1, %xlsLeftAlign, %xlsCellNormal, 0)
    NEXT
    

    'PROTECT the spreadsheet so any cells specified as LOCKED will not be
    'overwritten. Also, all cells with HIDDEN set will hide their formulae.
    'PROTECT does not use a password.
    stat& = xlsProtectSpreadsheet(%XLSTRUE)
    
    
    'Finally, close the spreadsheet
    stat& = xlsCloseFile
    

    endtime! = TIMER
    
    MSGBOX "Excel BIFF Spreadsheet created (" & TRIM$(FORMAT$(endtime!-starttime!, "###.####")) & " seconds)" & $CrLf & "Filename: " & mFileName$,, "Excel API"



END FUNCTION


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩久久精品一区| 久久嫩草精品久久久久| 91精选在线观看| 国产丝袜美腿一区二区三区| 国产精品高潮久久久久无| 丝袜诱惑制服诱惑色一区在线观看 | 国产一区二区三区四区在线观看| av亚洲精华国产精华| 日韩欧美国产系列| 一区二区三区久久久| 国产福利91精品一区二区三区| 欧美熟乱第一页| 中文字幕一区二区三区在线观看 | 欧美色图第一页| 国产精品色一区二区三区| 久久精品国产一区二区三区免费看 | 久久综合丝袜日本网| 日一区二区三区| 91性感美女视频| 中文字幕乱码久久午夜不卡| 麻豆国产精品官网| 欧美日韩国产不卡| 亚洲精品免费在线观看| 成人av动漫在线| 国产欧美日韩另类一区| 国产一区二区调教| xfplay精品久久| 激情图片小说一区| 亚洲欧美国产77777| 国产成a人无v码亚洲福利| 91精品在线一区二区| 午夜视频在线观看一区| 欧美午夜精品久久久久久超碰| 亚洲私人黄色宅男| 91美女精品福利| 亚洲精选在线视频| 91精品1区2区| 亚洲国产sm捆绑调教视频| 欧美中文字幕亚洲一区二区va在线| 国产精品不卡一区二区三区| av高清久久久| 一区二区三区中文字幕| 色婷婷综合久色| 亚洲国产欧美日韩另类综合| 欧美电影在哪看比较好| 日韩国产精品久久| 精品国产一区二区精华| 国产一区二区视频在线| 国产精品久久久久久久久免费桃花| 国产不卡在线播放| 亚洲美女视频在线| 欧美亚洲国产怡红院影院| 亚洲成人av福利| 精品日本一线二线三线不卡| 老司机精品视频导航| 国产三级精品视频| 91免费小视频| 午夜激情久久久| 久久人人97超碰com| 成人激情校园春色| 一区二区三区中文在线| 欧美一区二区三区小说| 国产麻豆精品theporn| 国产精品久久国产精麻豆99网站| 色狠狠一区二区三区香蕉| 日日骚欧美日韩| 精品国产91九色蝌蚪| 日韩欧美美女一区二区三区| 国产精品99久久久久久宅男| 亚洲精品伦理在线| 欧美成人三级在线| 91浏览器打开| 看电影不卡的网站| 亚洲精品视频在线观看免费| 欧美一级免费大片| 成av人片一区二区| 免费在线观看精品| 亚洲另类春色国产| 久久久久99精品一区| 欧美视频一区在线| 国产成人自拍网| 日韩电影免费在线看| 亚洲欧美综合色| 精品理论电影在线观看| 在线观看亚洲一区| 成人激情免费视频| 久久电影网电视剧免费观看| 亚洲综合成人网| 国产精品美女视频| 日韩精品在线一区| 欧美性大战久久久久久久蜜臀| 国产成人亚洲综合a∨婷婷图片 | 久久久久久97三级| 91麻豆精品国产综合久久久久久 | 国产精品国产三级国产普通话蜜臀 | 国产麻豆精品一区二区| 亚洲成人综合在线| 中文字幕亚洲综合久久菠萝蜜| 欧美成人a在线| 欧美乱妇20p| 欧美性大战久久久久久久| 丁香婷婷综合五月| 另类小说综合欧美亚洲| 一区二区三区**美女毛片| 国产精品毛片a∨一区二区三区 | 久久精品国产第一区二区三区| 亚洲一区中文日韩| 亚洲欧美激情小说另类| 国产欧美日韩卡一| 久久久精品综合| 26uuu亚洲婷婷狠狠天堂| 欧美疯狂做受xxxx富婆| 欧美色视频在线| 欧美视频自拍偷拍| 欧美在线|欧美| 欧美日韩一区中文字幕| 在线一区二区三区四区| 色婷婷狠狠综合| 色婷婷久久久久swag精品| 色综合久久久久| 欧美在线高清视频| 欧美日韩视频在线一区二区| 在线视频国内一区二区| 欧美视频一区在线观看| 欧美日韩国产中文| 欧美一区二区精品在线| 日韩一区二区免费在线观看| 精品欧美一区二区三区精品久久 | 九九九精品视频| 激情综合网激情| 国产成人午夜视频| av中文字幕一区| 在线看日韩精品电影| 欧美色国产精品| 日韩免费高清电影| 久久久久久99精品| 亚洲欧美一区二区三区久本道91| 亚洲精品国产精华液| 日韩精品福利网| 国产成人精品影视| 91美女片黄在线| 日韩一级免费观看| 久久久久久久久久看片| 国产精品成人在线观看| 午夜电影网一区| 国产成人精品三级| 色先锋久久av资源部| 欧美一区二区在线不卡| 国产亚洲午夜高清国产拍精品| 中文字幕在线不卡一区| 国产福利精品导航| 91九色02白丝porn| 欧美成人性战久久| 亚洲男人的天堂在线aⅴ视频| 五月开心婷婷久久| 成人小视频在线观看| 欧美少妇xxx| 中文字幕第一页久久| 天堂一区二区在线免费观看| 国产成人午夜精品5599| 欧美群妇大交群中文字幕| 久久久亚洲高清| 亚洲综合色在线| 国产99久久精品| 欧美日本一区二区三区四区| 国产免费观看久久| 蜜臀久久99精品久久久久久9| 99re在线精品| 国产婷婷一区二区| 爽好多水快深点欧美视频| 不卡av在线网| 久久久www成人免费毛片麻豆| 亚洲最色的网站| av在线一区二区| 久久精品亚洲一区二区三区浴池| 亚洲福中文字幕伊人影院| 99久久精品国产一区二区三区| 欧美mv日韩mv亚洲| 五月婷婷久久综合| 91在线你懂得| 中文字幕成人av| 国产精品一区二区无线| 日韩欧美国产系列| 日产欧产美韩系列久久99| 在线观看亚洲精品| 亚洲天堂免费在线观看视频| 高清国产午夜精品久久久久久| 欧美成人伊人久久综合网| 香港成人在线视频| 欧美午夜精品久久久久久超碰| 亚洲欧美日韩久久精品| 国产aⅴ精品一区二区三区色成熟| 日韩欧美在线123| 日韩国产在线一| 欧美日韩成人激情| 亚洲国产美女搞黄色| 欧美在线free| 亚洲第一激情av| 69堂国产成人免费视频| 亚洲一级二级在线|