+ Reply to Thread
Results 1 to 4 of 4

ActiveSheet change form VB.NET

  1. #1
    Forum Contributor
    Join Date
    12-26-2006
    Posts
    189

    ActiveSheet change form VB.NET

    Hi,

    I'm developing an little application with VB.Net, that involve Excel.

    I am copying Textbox contents to Excel cells. I have the following code to copy them to "Sheet1".
    Please Login or Register  to view this content.
    Now, i want to change the Activesheet to "Sheet2" to copy some values, and return to activate "Sheet1" again.

    How can i do this?

    thanks

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You do not need to select a sheet to copy from it. Maybe you need

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    12-26-2006
    Posts
    189
    I've already tried to use this code:
    Please Login or Register  to view this content.
    to select the sheet that i want to copy to, but it didn't work.

    What is happening?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I'm not sure, I have little experience of VB.Net

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1