I guess I didn't make my question totally clear. I'm wanting to align the text inside the cell. I tried objExcel.Sheets(sheetnam).Cells(15,12).HorizontalAlignment = Right, but it gives me an error on the "HorzontalAlignment" part of the command.
I am creating an Excel file from Visual Basic .Net. Sample code is below. I need to know how to align the cells horizontally. Any other formatting commands would also be helpful.
objExcel = CreateObject("excel.application")
objExcel.Visible = True
objExcel.Workbooks.Add()...
I want to create a DCL batch file on VMS to Telnet to a site, log onto the site, send a command, and log off. I can get the file to telnet to the site, but it does not log on. Instead it interactively asks for the username. The code is below.
Could you tell me what I'm doing wrong?
$...
When I print multiple copies to a file in Word, it asks for the file name one time and stores all of the copies in that one file.
When I print multiple copies to a file in Excel, it asks for as many file names as the number of copies I entered and stores each copy in a separate file.
Is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.