+ Reply to Thread
Results 1 to 3 of 3

Store current cell location to use same location on other worksheet

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    Zoetermeer, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    2

    Store current cell location to use same location on other worksheet

    Hi Guys,

    I need a macro in a workbook to insert rows on two sheet simultaneously and copy formulas after that.

    I have a workbook with a project plan sheet and a gannt chart sheet.

    I add an activity on the project plan I need to also add this activity into the Gannt chart sheet.

    This is what I came up with so far after scraping the internet for code examples. (As I am new to VBA)


    Please Login or Register  to view this content.

    Now as I test it, TargetRange.Select doesn't work... what am I missing here?
    Last edited by arlu1201; 02-22-2013 at 09:31 AM. Reason: Use code tags in future.

  2. #2
    Forum Contributor
    Join Date
    12-31-2012
    Location
    Jhang, Pakistan
    MS-Off Ver
    Excel 2010
    Posts
    250

    Re: Store current cell location to use same location on other worksheet

    I have made some changes to your code, hope this will work:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-22-2013
    Location
    Zoetermeer, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Store current cell location to use same location on other worksheet

    Thanks a million! I thought I was going nuts here...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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