|
-
Jun 6th, 2001, 03:40 PM
#1
Thread Starter
New Member
spreadsheets again
ive made a text box which when i click on a command buttton it will get the value in the textbox and put it in cells in a spreadsheet below....... i really need the whole code or at least some
-
Jun 6th, 2001, 05:17 PM
#2
??
Are you:
In excel...(all VBA?)
In VB Controling Excel?
In VB with Spreadsheet OLE?
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 7th, 2001, 05:33 AM
#3
Thread Starter
New Member
with in excel using vb editor but i do have vb pro 6
-
Jun 7th, 2001, 05:57 AM
#4
Fanatic Member
this is using VB6
dim xl as new excel.application
xl.workbooks.open("c:\spreadsheet.xls")
xl.cells(1,1) = textbox1.text
xl.quit
set xl = nothing
you need to set the microsoft excel refererence as well first.
-
Jun 7th, 2001, 07:22 AM
#5
You can also Grab Excel if its currently open:
Dim Xls As Object
Set Xls = GetObject(,"excel.application")
Xls.Range("A1").Value = Text1.text
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 13th, 2001, 03:12 AM
#6
Thread Starter
New Member
Thx
Thankyou sorry for later reply been working on something else
keep on coding !!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|