+ Reply to Thread
Results 1 to 3 of 3

VBA to Format & Transpose

  1. #1
    Forum Contributor
    Join Date
    05-01-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    822

    VBA to Format & Transpose

    I need to create a console that loads in some data from a external template and then formats the data based on my example attached. The attached is a manually completed version.

    I've tried to call out each step below.

    -Ask the user which file to use and open the network directory.
    -Copy the range of the select file into the BBG sheet
    -Copy column H of BBG into Conversion Sheet A based on the number of categories on mappings sheet
    - Copy column AD of BBG into conversion sheet E
    - Copy column K of BBG into conversion sheet F
    - Populate the conversion sheet C with "RECORD" for the entire range of the sheet.

    Copy entire contents of conversion sheet to Output sheet

    Hope anyoner can help with this.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: VBA to Format & Transpose

    The bits you need are:
    - Application.FileDialog which will open a Browse window to select a file.
    - the rest of the items of copy and paste etc can be recorded as a macro and then amended to use within your VBA.
    If someone has helped you then please add to their Reputation

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

    Re: VBA to Format & Transpose

    Hi Ken,

    You have 18 worksheets in your example and it looks complicated. I'd suggest you post this to our Commercial Services forum located at the top of this screen. It looks like you are looking for more than a single formula and this might be the best bet for getting a good answer.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA to transpose data in a specific format
    By dhiresh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2014, 06:45 AM
  2. Want to transpose data into defined format
    By sinha.riteshabap in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2014, 02:31 AM
  3. Macro to transpose data into row format
    By Beany213 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-21-2013, 04:45 PM
  4. transpose column in to table format
    By rojy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2012, 03:39 AM
  5. Transpose data into a tabular format
    By fausto1234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2012, 02:04 AM
  6. Format transpose
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 10-24-2011, 03:41 PM
  7. format in a certain way, transpose
    By vickyho1008 in forum Excel General
    Replies: 1
    Last Post: 02-12-2007, 06:20 PM

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