+ Reply to Thread
Results 1 to 2 of 2

vb or macro excel notepad

Hybrid View

  1. #1
    Registered User
    Join Date
    09-01-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    19

    Post vb or macro excel notepad

    HI, can u help in getting the vb done for my excel sheet

    *.Need to creat a data for VB EXCEL TO NOTEPAD.xls workbook with short key to run the program for all the pages in excel and each page out put should creat a new note pad and save the format by files name.

    Sheet1.

    i have a name data in row G3 can go upto 200 name

    i need to copy column from H3 to H13 and if data there from H14TO H24 Need to copy the every 11 block column till end if data found , and paste in end of
    G25 as seen in sheet1A.

    *.need to repeat copy paste I3 column data till end and paste in G, column from G47

    again copy J3 column and paste in G91 as shown in sheet1A.

    need to copy and paste all G3 row data to column wise in G. shown in sheet1A.

    *.Need to remove all text once from start and ends with / in column G3.there are code to reffer the name and address.

    eg. a.b/ b.f/ a.b.c.d/ can see from column C4. removed data shown in sheet1B in G3 column.

    trim G, column to remove unwanted space .

    Then need to delete comma ( , ) end of every line in G, column data. as seen in Sheet1B.

    Used formula to remove comma =LEFT(G3,LEN(G3)-(RIGHT(G3)=","))

    need to Assign code for E1 column to Till find next data in column G3 on finded data in G24 ,then need to chang to till
    find next data in G3 on again find in G47 need to change E column to till find net data in G3 column from G47.
    need to do till the end of G3 Blank to if find all 11 block blank and delete the bottom row from Blank .

    Code changed as shown in column E ,

    * Sheet1C need to sort D,E,G and Delet blank data from G, column with D,E column data.

    Result shown in Sheet1C.

    * Sheet1D need to change all Name to upper case in reverse format with condaction eg. shown below

    anil kapoor singh SINGH,ANIL KAPOOR
    kiran kumar gee tie GEE TIE,KIRAN KUMAR
    super kumar meer timmer natak t TIMMER NATAK T,SUPER KUMAR MEER

    using this excel formula- =UPPER(LEFT(TRIM(RIGHT(SUBSTITUTE(TRIM(A1)," ",REPT(" ",99)),(1+(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))>2)+(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))>4))*99))&","&A1,LEN(A1)))

    and take F1 and F2 to G1 and G2. then delete column F ,
    need to merge E, column and F,column showm below
    =CONCATENATE(E3,F3) as in sheet1D.

    *Sheet1E.
    FINAL STAGE

    Creat a Note Pad by File Name shown in F1 , copy F, column and paste in note pad and save all the excel sheet data one by one new notepad in folder name by excel sheet,

    please help in doing vb ,macro or .net program were i can run in single command.

    file link to download excel file .

    ( http://www.filesharesite.com/files/2...TO_NOTEPAD.xls)

    http://www.filesharesite.com/deletei...9&k=3789848390
    Regards

    srinivas
    9742945611
    india

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: vb or macro excel notepad

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


    ==========================================


    This is a pretty big request in one chunk. I'm sure you'll get better response if you break down your question into several parts, so that they can be tackled one after the other.

    Also, we're happy to help you with your effort, but nobody here will be keen on developing a solution from scratch. This forum is about helping people learn how to use Excel, not a free development service.

    Have you started any work on this project yet?
    How far did you get?
    Where are you stuck?

    We can help you develop your own code, but if you want someone to code this for you all the way, you should try and find a commercial developer.
    Ben Van Johnson

+ 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