+ Reply to Thread
Results 1 to 3 of 3

Dynamic check of cell content

  1. #1
    Registered User
    Join Date
    08-11-2016
    Location
    Lucerne, Switzerland
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Cool Dynamic check of cell content

    Dear all

    I'm stuck with quite some difficult problem:

    I'd like to look for datas in a worksheet and transfer them to another one.

    My problem: First, I had a static solution of my problem (code 1). This worked well. But now, static reference is no longer good for my task. I absolutely need a dynamic check of this cell. My attempt for a solution you can find in code 2.

    Where's my mistake? Is there anyone who could help me, please?

    Thank you very much for your help.

    Best regards
    Sparhawk

    Code 1 (static) => works
    Please Login or Register  to view this content.
    Code 2 (dynamic) => doesn't work
    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Dynamic check of cell content

    The ActiveCell applies only to the Active sheet which I think you want to be "Daten". Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    08-11-2016
    Location
    Lucerne, Switzerland
    MS-Off Ver
    MS Office 2010
    Posts
    2

    Re: Dynamic check of cell content

    Hi AlphaFrog

    Thank you very much for your help. I tried it and it worked perfectly. This was really a precious hint, that ActiveCell only applies to the Active sheet.

+ 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. Check cell content from one row to second row and put unique values in 3rd row
    By salwanmeenakshi1502 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-12-2015, 03:05 AM
  2. [SOLVED] Macro to check and delete content of cell
    By kent97 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-11-2015, 10:58 PM
  3. [SOLVED] Using check box to display cell content but it only displays #value!
    By i.r.smith in forum Excel General
    Replies: 5
    Last Post: 09-08-2014, 08:00 AM
  4. [SOLVED] VB Code to check the content in cell
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2014, 11:06 AM
  5. [SOLVED] Want dynamic image based on cell content
    By PompadourJay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2014, 08:52 PM
  6. How to get button to check cell content
    By FoxIII in forum Excel General
    Replies: 1
    Last Post: 02-17-2009, 08:25 AM
  7. How to check a cell for content before running macro.
    By Incoherent in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2005, 12:05 PM

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