+ Reply to Thread
Results 1 to 3 of 3

How do i add a sheet and add values to the cells before it appears?

  1. #1
    Forum Contributor
    Join Date
    12-03-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    107

    How do i add a sheet and add values to the cells before it appears?

    I have a userform that adds a sheet by pressing commandbutton_addsheet and the name of the sheet will be dependent on textbox_NewSheetName.value.

    But what additional code do I need if I want the sheet to have some contents already in it before it becomes visible?

    something like:

    Please Login or Register  to view this content.
    I tried:

    Please Login or Register  to view this content.
    Did not work, what do i need to write?

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: How do i add a sheet and add values to the cells before it appears?

    Hi, kjy1989,

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    The 0 within Cells should read 1 as no Column 0 exists (A is equivalent to 1).

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Exclamation Index match sheet to sheet

    Hi,

    i need index match sheet to sheet.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 11-21-2013, 10:01 AM
  2. put the values if the specific value appears in the sheet
    By pranav.y in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2013, 09:21 AM
  3. Replies: 1
    Last Post: 04-11-2013, 01:02 PM
  4. Replies: 5
    Last Post: 02-21-2013, 07:17 PM
  5. Formatting cells in one sheet based on their values in another sheet
    By bwlodarczyk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2012, 11:07 AM

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