+ Reply to Thread
Results 1 to 4 of 4

Range reference problem in database

  1. #1
    Registered User
    Join Date
    12-11-2011
    Location
    Western Cape
    MS-Off Ver
    Excel 2007
    Posts
    2

    Range reference problem in database

    I have written a piece of code like this...
    Please Login or Register  to view this content.
    Ok, so this macro builds a database, you fill the the data in range C5:C7 and then it should paste transpose it in K3 and then to K4, K5, K6 etc each time you run the macro. The problem is, that it is pasting the data to K31,K32,K33 instead of K4, K5, K6.

    I know this is very noob but i really need help asap.
    Thx
    Last edited by VBAnoobi; 12-12-2011 at 09:59 PM.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Need help with piece of code

    Forum rules require code tags when posting VBA code.
    Please edit your post to add the tags.

    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]

    Please Login or Register  to view this content.
    Last edited by Palmetto; 12-13-2011 at 08:14 AM.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,451

    Re: Need help with piece of code

    Or how about,
    Please Login or Register  to view this content.
    Last edited by MarvinP; 12-11-2011 at 09:55 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    12-11-2011
    Location
    Western Cape
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Range reference problem in database

    Thanks ppl, i got this right.

+ 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