+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Column data transfer and automatic data deletion

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Question Column data transfer and automatic data deletion

    Hello everyone, brand new to excel coding and VBA and I had a few different questions I was hoping I could find some help with.

    1. How would I transfer a column using VBA from one worksheet to another.

    ( I was planning on looping through the column and ending once I reach a blank cell, then transfering the data over, but I'm not entirely sure how to do this because I have very limited knowledge of the VB language.)


    2. I'm importing data from a sharepoint calender, how could I have it import the data, then automatically delete the data I don't need.

    I'm sure I will have more questions on the project but these are my two main obstacles at this point. I feel like it should be a relatively simple solution I can't seem to find the answer in any resources though, everything else seems to be a higher level code.

    Thanks for any and all Ideas/solutions!
    Last edited by shelbert13; 06-14-2012 at 01:50 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Noobie Excel programming questions

    Hi shelbert13


    Welcome to the forum.

    Suggest you to change the title of the thread to reflect the query being asked in there.. see the forum rules:-
    http://www.excelforum.com/forum-rule...rum-rules.html

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    06-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Noobie Excel programming questions

    Thanks for the welcome! Sorry about that

  4. #4
    Registered User
    Join Date
    06-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Column data transfer and automatic data deletion

    Hello all,

    Still working on my project, ran into another thing I'm not sure about.

    Is there a way to automatically have my functions called and ran as soon as the data is refreshed? I suppose that would be the same as deleting the data I don't need automatically.

    I was thinking having a button to refresh data, and then when pressed doing something like (pardon my syntax this is rough conceptual code and in no way actual VB)

    on click

    worksheet1.delete(,"D","E")
    call function.HandleData (It's a bit of code I figured how how to seperate data inside of my column C into 2 seperate columns which become C and D)

    Thats the point at which I'm stuck as it now gets really difficult. My manager wants to be able to input all of the names of his employees into this calender, so I need to allow that to be feasible, then I need to be able to have my program cross reference Column C of Raw Data, with Column A of Displayed data, and if they match then it will have to cross reference Column D of Raw Data, with Column A of Legend, and if they match display the marker in Column B. Then I need figure how to display that marker in the appropriate dates from Columns A and B of Raw Data
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Column data transfer and automatic data deletion

    Would like to have this thread removed as I feel the Programming with excel/VBA forum is a better venue for this question. Will be taking my questions there.

+ 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