• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Multiple workbook from One

Nabeel

Member
Hi all
I want to extract two sheets from this sheet

I have made the sample sheets format as SECH & CCPORTAL

1: In SECH sheet should generate with the name of SECH and code should like if add some equip ID in code that also add similarly for that number if I delete that should not occur & save in 97,2003 formats with the workbook name SECH 1, 2 so on, should each sheet contain 190(changeable in code) numbers. column C & D will be static/constant and column A info will be extracted from CONT sheet & column B (Equip code) will mention in code manually (can be more as per my need)

2: & same things for CCportal sheet but this sheet should save in CSV format it should also contain data 190(editable in code as per need), in sheet info column B to E will take from CONT sheet & column A info will constant,

3: Main sheet(CONT) also extracted from with total 190(editable in code) and save in folder with name of UPD1,2,3 and so on in format 97-2003.

I have a folder in my desktop with the name of Master Activation, code should create another folder in it auto with today’s date activation..!(if I will run code(with different data) in same day second or third time sheets will save respectively in same folder) and new folder for next day.!

Code also remove all leading and trailing spaces and extra spaces between word if found any..!

If some column has special character like %^&* (specially in column S,X,W,Y)in data and more than 50 characters in cell code shows error (with error display)

Remove dashes (-) in columns N,O,P if found any

Thanks for your anticipation


Nabeel
 

Attachments

  • Work.xlsm
    106.3 KB · Views: 3
Have you searched the Chandoo site for any of the things you want to do ???
Maybe "Remove dashes (-) in columns N,O,P if found any" is some thing you could learn to do with basic excel routines ?
 
Maybe "Remove dashes (-) in columns N,O,P if found any" is some thing you could learn to do with basic excel routines ?

i can handle this with formula and also can find VBA solution only for this but this is not fulfilling my whole req & i am not able to find whole solution than modify the macro..
 
@vletm
FYA & I please

Nabeel
 

Attachments

  • CCPORTAL.csv
    10.8 KB · Views: 1
  • CONT.xls
    126.5 KB · Views: 1
  • RAW FILE.xlsm
    172.4 KB · Views: 1
  • SECH.xls
    61.5 KB · Views: 1
Back
Top