Click here to Skip to main content
15,914,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: inserting into database Pin
S Douglas3-Feb-06 22:12
professionalS Douglas3-Feb-06 22:12 
QuestionGet Ip Address and put it in TextBox1?? Pin
Darshon3-Feb-06 12:12
Darshon3-Feb-06 12:12 
AnswerRe: Get Ip Address and put it in TextBox1?? Pin
Jason McBurney3-Feb-06 12:43
Jason McBurney3-Feb-06 12:43 
GeneralRe: Get Ip Address and put it in TextBox1?? Pin
Darshon3-Feb-06 19:30
Darshon3-Feb-06 19:30 
GeneralRe: Get Ip Address and put it in TextBox1?? Pin
Jason McBurney7-Feb-06 5:40
Jason McBurney7-Feb-06 5:40 
AnswerRe: Get Ip Address and put it in TextBox1?? Pin
Darshon7-Feb-06 14:07
Darshon7-Feb-06 14:07 
QuestionCopy into Clipboard - .GIF Pin
john john mackey3-Feb-06 12:08
john john mackey3-Feb-06 12:08 
AnswerRe: Copy into Clipboard - .GIF Pin
Jason McBurney3-Feb-06 12:58
Jason McBurney3-Feb-06 12:58 
What you are looking for is called Excel Automation. Although I have not done exactly what you are talking about here, the Excel DOM (document object model) is extrmely robust, and most likly contains the functions to preform this programmatically.

To start, copy your source excel file, and record your "maunal" orocess as a macro. After stopping the macro, open the VBA editor, within excel, which will have a function that performs your "manual" process. Copy this function into your Access code base. Viola you are 90% done.

Lastly, you will have to create the excel object to run your external macro. A good example is found here: http://www.mvps.org/access/modules/mdl0006.htm[^].

The line discussing the create object code is what you really care about!...
Set objXL = CreateObject("Excel.Application")


Hope this helped Smile | :)


do you need to investigate an online backup[^] company

-- modified at 19:05 Friday 3rd February, 2006
Also take a look at:http://www.codeproject.com/com/ComExcelImages.asp[^]
GeneralRe: Copy into Clipboard - .GIF Pin
john john mackey3-Feb-06 13:22
john john mackey3-Feb-06 13:22 
QuestionA table control for vb6 Pin
ns3-Feb-06 9:40
ns3-Feb-06 9:40 
AnswerRe: A table control for vb6 Pin
Jason McBurney3-Feb-06 13:02
Jason McBurney3-Feb-06 13:02 
QuestionBindingSource Wont Update Pin
AlexeiXX33-Feb-06 9:20
AlexeiXX33-Feb-06 9:20 
QuestionAnother FileSystemObject Question Pin
Quecumber2563-Feb-06 8:41
Quecumber2563-Feb-06 8:41 
AnswerRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 9:12
mveDave Kreskowiak3-Feb-06 9:12 
GeneralRe: Another FileSystemObject Question Pin
Quecumber2563-Feb-06 9:29
Quecumber2563-Feb-06 9:29 
GeneralRe: Another FileSystemObject Question Pin
Quecumber2563-Feb-06 9:42
Quecumber2563-Feb-06 9:42 
GeneralRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 9:54
mveDave Kreskowiak3-Feb-06 9:54 
GeneralRe: Another FileSystemObject Question Pin
Quecumber2563-Feb-06 10:00
Quecumber2563-Feb-06 10:00 
GeneralRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 10:06
mveDave Kreskowiak3-Feb-06 10:06 
GeneralRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 10:04
mveDave Kreskowiak3-Feb-06 10:04 
QuestionHelp for explained error message! Pin
JUNEYT3-Feb-06 6:31
JUNEYT3-Feb-06 6:31 
AnswerRe: Help for explained error message! Pin
Dave Kreskowiak3-Feb-06 7:32
mveDave Kreskowiak3-Feb-06 7:32 
QuestionVB.Net Union Type Pin
Polymorpher3-Feb-06 6:30
Polymorpher3-Feb-06 6:30 
AnswerRe: VB.Net Union Type Pin
Dave Kreskowiak3-Feb-06 7:28
mveDave Kreskowiak3-Feb-06 7:28 
GeneralRe: VB.Net Union Type Pin
Polymorpher3-Feb-06 15:11
Polymorpher3-Feb-06 15:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.