Results 1 to 6 of 6

Automatisch formules in tabblad plaatsen met behulp van VBA

Threaded View

  1. #1
    Registered User
    Join Date
    03-02-2022
    Location
    Amsterdam, Holland
    MS-Off Ver
    Office 365
    Posts
    3

    Automatisch formules in tabblad plaatsen met behulp van VBA

    Hallo,

    Ik heb een vraag. Ik ben bezig met een bestand. In dit bestand wordt op basis van een klein UserForm een waarde ingevoerd in een kolom. Als deze waarde wordt ingevoerd wordt automatisch een tabblad aangemaakt met die de naam heeft van de waarde die in de kolom wordt ingevoerd. Er staat een tabblad in het bestand wat dient als sjabloon die dan gekopieerd wordt. Er is nog een verzamelpagina waarin op het moment dat bovenstaande acties worden uitgevoerd, een kopie gemaakt wordt van een tabel. Die nieuwe tabel wordt dan geplaatst onder de bovenstaande tabel met twee lege rijen ertussen.

    Bovenstaande werkt allemaal.

    Nu wil ik dat in de tabel die gekopieerd wordt, formules komen te staan. Die formules verwijzen naar het nieuwe automatisch aangemaakte tabblad. Dus bijvoorbeeld in cel b52 moet de formule '=naamnieuwtabblad!A40' komen te staan.
    VBA moet dit dan bepalen aan de hand van de nieuwe naam van het tabblad en het aantal tabellen die er zijn.

    Iemand enig idee hoe je bovenstaande voor elkaar kunt krijgen?

    Ik ben benieuwd of iemand mij op weg kan helpen.
    Attached Files Attached Files
    Last edited by bbme; 03-03-2022 at 03:52 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Verschillende groepen met waarden op 1 rij onder elkaar plaatsen
    By basketpickleball in forum Non English Excel
    Replies: 1
    Last Post: 04-29-2020, 02:17 AM
  2. Cleaning an copying data to other tab.
    By guidom in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2014, 01:21 AM
  3. [SOLVED] VBA multiple Formules
    By Shimazu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-23-2014, 06:59 PM
  4. [SOLVED] Formules Calculation problems
    By Shimazu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2014, 05:35 PM
  5. showing formules
    By keesb in forum Excel General
    Replies: 2
    Last Post: 07-10-2006, 09:49 AM
  6. vergelijken tabblad naam met waarde uit cel
    By Arjan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-16-2005, 06:20 AM
  7. Formules doorkopiëren
    By Arnold in forum Excel General
    Replies: 1
    Last Post: 11-10-2005, 11:00 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