Hello!
I want to make a web-page with this layout:
div1: with=900px, height: 30px;
div2: width=900px, height: 100px;
div3: width=900px, height: 50px;
div4: width=900px, height: 100%;
div5: width=900px, height: 30px;
Biggest problem is to make div4 height = 100% without getting scrollbars in...
When I write a word that contains one Bosnian character in Photoshop CS and then choose the Font family to "Bradley Hand ITC" ( or some other Font Family ) all characters gets this font family but not this bosnian. I know that this Font family has this character and when i write the same word in...
Ok, thanks a lot! I will take closer look on you code! But I think that i can do this much easier with a loop in C# ( ASP.NET ). Beacuse i'm not just displaying the data, but I also make it possible to add/remove a depart_weekday in GridView ( ASP.NET ).
But again, thank you very much!
...in c++. I have made a image <img src="http://www.slomic.no/char_pointers.gif">
of what i THINK is happening when i write
char c[] = "hello";
char* c2= c;
and
char c = "hello";
char* c2= c;
Is this image correct? How can adress of "c" be the same as c[0] and c in the first image?
And...
How can I get AutoNumber that Access made for the new post after a INSERT statement, back to the ASP? Im using ADO objects to connect and get data from Access DB.
I see your points. I have experiance in programming in Java so I know all this about object referances. I am new in programming in VBA so I need little bit help with getting a picture of all objects.
RoyVidar: Im realesing object xlApp at the end:
Set xlApp = Nothing
This is enough?
Oh, i didn't know of the object model by pressing F2.. i was actually searching after a object model in the Help file.. Not i understand how this object works..
I have to write like this when i want to create new Excel file:
Set xlApp = CreateObject("Excel.Application")
Set xlWoorkbook =...
But the code i wrote in my last message:
Set xlApp = CreateObject("Excel.Application")
Set xlSheet = xlApp.Workbooks.OPEN("test.xls").Sheets(1)
requires a already created Excel file named "test.xls". But i want to create new Excel file in the code, how should i write then?
Ok, now I understand you. If I write something like this:
Set xlApp = CreateObject("Excel.Application")
Set xlSheet = xlApp.Workbooks.OPEN("test.xls").Sheets(1)
xlSheet.cells(1, 1).Value = "Test"
Is this what you mean? How do you mean I should set horizontalalignment to center? Like...
Hello..Tnx for your answer! I found the answer by myself. I wrote:
ExcelSheet.Application.Rows(1).HorizontalAlignment = xlCenter
But when I'm in a Access VBA window Access dont cannot find variable "xlCenter", that is a Excel VB constant, so I just wrote value instedof variablename and it...
I create a Excel file and try to alignment text to the middle in the cells for the first row with this code:
Dim ExcelSheet As Object
Set ExcelSheet = CreateObject("Excel.Sheet")
ExcelSheet.Application.Cells(1, 1).Value = "Test"
ExcelSheet.Application.Rows(1).HorizontalAlignment = xlCenter...
Thank you, this was that i was looking for. But how do i close the file. Beacuse after i run this code the excel file is still opened so i need to close it before i can open it to see how it looks. I have tried this code:
fvobj_Excel.Workbooks.Close and i think it's working, but i get message...
How can I access a already made Excel file and format its cells from Access VB window? I know how to format Excel cells when I am in a Excel VB window, but how to do it from Access VB window?
I want to do this:
1. Create a new Excel file
2. Format cells in this new file ( fonts, color etc. )
3. Export data from a SQL query or table from MS Access.
I would like to do all this things from Access form. I got a form where user have to fill some information, and when he is finished...
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.