+ Reply to Thread
Results 1 to 2 of 2

How to automate a 20 step process after importing data into Excel

  1. #1
    Registered User
    Join Date
    11-07-2011
    Location
    Arcata, California
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    52

    How to automate a 20 step process after importing data into Excel

    For costing, I have to export a product Bill of Material (BOM) into excel. The export is not editable and needs to be altered. The alteration is a 20 step process of removing formatting, formatting cells, deleting blank cells, etc...

    Is there any way to automate some of these tasks? I have to do this with every BOM and we have hundreds of them.

    Attachment show raw export from database and final edit.

    Thanks,

    Eric
    Attached Files Attached Files
    Last edited by jeffreybrown; 11-13-2012 at 04:06 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to automate a 20 step process after importing data into Excel

    With this recorded macro.

    See the attached file.

    [CODESub Recorded_Macro()

    Columns("F:J").Delete Shift:=xlToLeft

    Rows("10:10").Select
    Selection.Font.Bold = True
    Selection.RowHeight = 24
    With Selection.Font
    .Size = 14
    .Strikethrough = False
    .Superscript = False
    .Subscript = False
    .OutlineFont = False
    .Shadow = False
    .Underline = xlUnderlineStyleNone
    .TintAndShade = 0
    .ThemeFont = xlThemeFontNone
    End With
    Range("A1").Select
    End Sub
    ]Please Login or Register to view this content.[/CODE]
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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