LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Importing Access to Excel

I am wondering how to use excel's automated reference to automate updating
data in a excel file using access.

Ex: Using the ".Range("G9").Value ="

I have personally tried using this code (it did not work)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

With objExcel
.Visible = True
.Workbooks.Open("\EDV SUMMARY SAMPLE.xls")
*.Range("G9").Value = Val(EDV_DMM_STD_SummaryDataGridView(3,1))*
.Range("A1").ColumnWidth = 20
.Range("A1").Font.Bold = True
.Range("A2").Value = "So. Main St."
.Range("A3").Value = "Hartford" & ", " & "CT"
End With

**this is a control table conected to a linked databse. I am trying
to point to a cell in the table by using indexes and write the data to the
excel doc.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing from access to excel justlearnin Excel Discussion (Misc queries) 0 March 28th 07 09:36 PM
Importing to Excel from Access Alan New Users to Excel 0 November 9th 06 05:46 PM
Importing data from Access to Excel, but I need to vary the table from Access Liz L. Excel Programming 3 June 6th 06 02:12 AM
Importing to access from excel KIM Excel Discussion (Misc queries) 2 February 23rd 05 09:25 AM
Importing Access mdb to Excel seanA Excel Programming 1 April 28th 04 03:20 PM


All times are GMT +1. The time now is 08:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"