Click here to Skip to main content
15,904,287 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: datarow Pin
Ritesh123413-Jan-05 3:28
Ritesh123413-Jan-05 3:28 
QuestionHow to format field value in crystal report Pin
viettho12-Jan-05 13:16
viettho12-Jan-05 13:16 
AnswerRe: How to format field value in crystal report Pin
Bad Sector12-Jan-05 19:01
Bad Sector12-Jan-05 19:01 
GeneralRe: How to format field value in crystal report Pin
viettho14-Jan-05 7:20
viettho14-Jan-05 7:20 
GeneralExcel Pin
Britnt712-Jan-05 9:23
Britnt712-Jan-05 9:23 
GeneralRe: Excel Pin
Dave Kreskowiak12-Jan-05 12:02
mveDave Kreskowiak12-Jan-05 12:02 
GeneralRe: Excel Pin
Ritesh123413-Jan-05 3:42
Ritesh123413-Jan-05 3:42 
GeneralRe: Excel Pin
Britnt713-Jan-05 4:20
Britnt713-Jan-05 4:20 
Ritesh1234 wrote:
You can copy a worksheet by using the Worksheet object's Copy method. To copy a worksheet to the same workbook as the source worksheet, you must specify either the Before or After argument of the Copy method.
I am trying to copy a worksheet from one workbook to another workbook. From what I get from you is, copying a worksheet in the same workbook and not to a totally different workbook.

I was able to add a sheet to the workbook but that doesn't solve the problem of copying the data over to it.

This is my task. I am creating an excel document in Visual Basic code with 6 worksheets. Now I need to be able to create another sheet making it the cover sheet for that work book. I have another excel file that acts like a template as to what the cover sheet should look like. I need to copy that worksheet containing the cover sheet to the new file I created in visual basic. EX:

Test.xls contains coverSheet
Test2.xls contains 6 worksheets

I need to take the coverSheet from test.xls and put that worksheet into test2.xls

Is it possible to copy from one workbook to another different workbook?

Thanks for the helpSmile | :)

Beginner in VB.Net
GeneralRe: Excel Pin
Ritesh123413-Jan-05 3:47
Ritesh123413-Jan-05 3:47 
GeneralPopulating grid with months of a year Pin
Paps212-Jan-05 7:45
Paps212-Jan-05 7:45 
GeneralFormat date function and variables Pin
Drexel GG12-Jan-05 6:19
sussDrexel GG12-Jan-05 6:19 
GeneralRe: Format date function and variables Pin
Dave Kreskowiak12-Jan-05 8:43
mveDave Kreskowiak12-Jan-05 8:43 
GeneralRe: Format date function and variables Pin
Anonymous12-Jan-05 10:38
Anonymous12-Jan-05 10:38 
Generaldatasets (vb.net 2003) Pin
std770212-Jan-05 4:10
std770212-Jan-05 4:10 
GeneralSendMessage() Function Help Pin
Damian Castroviejo12-Jan-05 2:38
Damian Castroviejo12-Jan-05 2:38 
GeneralRe: SendMessage() Function Help Pin
Dave Kreskowiak12-Jan-05 4:20
mveDave Kreskowiak12-Jan-05 4:20 
GeneralRe: SendMessage() Function Help Pin
Damian Castroviejo13-Jan-05 2:11
Damian Castroviejo13-Jan-05 2:11 
GeneralRe: SendMessage() Function Help Pin
Dave Kreskowiak13-Jan-05 3:37
mveDave Kreskowiak13-Jan-05 3:37 
GeneralRe: SendMessage() Function Help Pin
Damian Castroviejo13-Jan-05 6:02
Damian Castroviejo13-Jan-05 6:02 
GeneralPage subtotal in MS Access 2003 Report Pin
steff kamush12-Jan-05 2:35
steff kamush12-Jan-05 2:35 
GeneralRe: Page subtotal in MS Access 2003 Report Pin
Dave Kreskowiak12-Jan-05 3:59
mveDave Kreskowiak12-Jan-05 3:59 
GeneralUpdateLayeredWindow - My great pain :) Pin
Axonn Echysttas11-Jan-05 21:46
Axonn Echysttas11-Jan-05 21:46 
GeneralRe: UpdateLayeredWindow - My great pain :) Pin
Dave Kreskowiak12-Jan-05 4:56
mveDave Kreskowiak12-Jan-05 4:56 
GeneralRe: UpdateLayeredWindow - My great pain :) Pin
Axonn Echysttas12-Jan-05 21:39
Axonn Echysttas12-Jan-05 21:39 
GeneralRe: UpdateLayeredWindow - My great pain :) Pin
Dave Kreskowiak13-Jan-05 2:10
mveDave Kreskowiak13-Jan-05 2:10 

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.