Click here to Skip to main content
15,899,313 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionto transfer data to each sheet of a excel workbook [modified] Pin
sanyexian6-May-10 18:38
sanyexian6-May-10 18:38 
AnswerRe: to transfer data to each sheet of a excel workbook Pin
Johan Hakkesteegt6-May-10 20:20
Johan Hakkesteegt6-May-10 20:20 
GeneralRe: to transfer data to each sheet of a excel workbook [modified] Pin
sanyexian8-May-10 15:26
sanyexian8-May-10 15:26 
AnswerRe: to transfer data to each sheet of a excel workbook Pin
Sonhospa6-May-10 23:06
Sonhospa6-May-10 23:06 
GeneralRe: to transfer data to each sheet of a excel workbook Pin
Johan Hakkesteegt6-May-10 23:30
Johan Hakkesteegt6-May-10 23:30 
GeneralRe: to transfer data to each sheet of a excel workbook Pin
Sonhospa7-May-10 4:56
Sonhospa7-May-10 4:56 
GeneralRe: to transfer data to each sheet of a excel workbook [modified] Pin
sanyexian8-May-10 15:17
sanyexian8-May-10 15:17 
AnswerRe: to transfer data to each sheet of a excel workbook Pin
Sonhospa10-May-10 22:47
Sonhospa10-May-10 22:47 
Hi Sanyexian,

you can try xlsSheet = xlsBook.Worksheets.Add to add a new worksheet instead of referring the first available sheet with "1" (as suggested: play with IntelliSense!). The code is very basic anyway, you will need to catch exceptions (Try... Catch) and much more. You might also want to download some samples from the web and learn from them - as I wrote COM-Interaction can be tricky.

Good luck! Thumbs Up | :thumbsup:
QuestionRunning New Processes on a Remote Computer with Output Pin
Stinebaugh6-May-10 16:25
Stinebaugh6-May-10 16:25 
AnswerRe: Running New Processes on a Remote Computer with Output Pin
Johan Hakkesteegt6-May-10 20:31
Johan Hakkesteegt6-May-10 20:31 
GeneralRe: Running New Processes on a Remote Computer with Output Pin
Stinebaugh7-May-10 6:37
Stinebaugh7-May-10 6:37 
GeneralRe: Running New Processes on a Remote Computer with Output Pin
Johan Hakkesteegt9-May-10 21:55
Johan Hakkesteegt9-May-10 21:55 
Questiongetting complete name of account NT server Pin
sal216-May-10 10:00
sal216-May-10 10:00 
AnswerRe: getting complete name of account NT server Pin
Stinebaugh6-May-10 16:30
Stinebaugh6-May-10 16:30 
GeneralRe: getting complete name of account NT server Pin
sal216-May-10 20:33
sal216-May-10 20:33 
GeneralRe: getting complete name of account NT server Pin
Stinebaugh7-May-10 6:22
Stinebaugh7-May-10 6:22 
GeneralRe: getting complete name of account NT server Pin
sal217-May-10 11:56
sal217-May-10 11:56 
QuestionMultithreading slower? [modified] Pin
NikWing6-May-10 5:36
NikWing6-May-10 5:36 
AnswerRe: Multithreading slower? Pin
Luc Pattyn6-May-10 5:52
sitebuilderLuc Pattyn6-May-10 5:52 
GeneralRe: Multithreading slower? Pin
NikWing6-May-10 6:33
NikWing6-May-10 6:33 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 7:00
sitebuilderLuc Pattyn6-May-10 7:00 
GeneralRe: Multithreading slower? Pin
NikWing6-May-10 7:45
NikWing6-May-10 7:45 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 8:34
sitebuilderLuc Pattyn6-May-10 8:34 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 12:38
sitebuilderLuc Pattyn6-May-10 12:38 
GeneralRe: Multithreading slower? [modified] Pin
NikWing6-May-10 13:23
NikWing6-May-10 13:23 

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.