+ Reply to Thread
Results 1 to 4 of 4

Pasting data into Cells that as in a hidden row

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Pasting data into Cells that as in a hidden row

    :This is my code where I want to paste data into cells that are hidden in the workbook but its not working
    Please Login or Register  to view this content.
    Any help appreciated

  2. #2
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: Pasting data into Cells that as in a hidden row

    How about just setting the values equal directly:

    Please Login or Register  to view this content.
    Perhaps it was the Noid who should have avoided me...
    If you are satisfied with my solution click the small star icon on the left. Thanks
    1. Make a copy of your workbook and run the following code on your copy (just in case)
    2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
    3. Paste the code from above into the empty white space. Close the VBE.
    4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".

  3. #3
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Re: Pasting data into Cells that as in a hidden row

    Its giving me subscript out of range. I have had to change the code sligh
    Please Login or Register  to view this content.
    The other thing is its opening the workbook, then telling me the workbook is already open and do i want to reopen? Any ideas?

  4. #4
    Forum Contributor
    Join Date
    08-14-2012
    Location
    Derby, England
    MS-Off Ver
    Excel 2010
    Posts
    257

    Re: Pasting data into Cells that as in a hidden row

    Ok I sorted this out by chaging the code above slightly to:

    Please Login or Register  to view this content.
    But i've got another issue so i'm gonna post in a new thread

+ 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