+ Reply to Thread
Results 1 to 1 of 1

Macro which converts all the columns into text with given conditions

  1. #1
    Registered User
    Join Date
    03-09-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    7

    Lightbulb Macro which converts all the columns into text with given conditions

    Hi All,

    I need a perfect coding for the below query.

    Query:

    There are two excel sheets one with greater than 500,000 rows, 52 columns(consider WB1.xlsx) and less than 500,000 rows, 52 columns(consider WB2.xlsx).

    I need one VBA code such a way that all the columns in the workbooks should convert to text, Paste Special all the rows and columns and autofit itself.

    But the condition is,
    *If we are using WB1.xlsx the macro should do the above task and split into half, save in the some directory which i specify the path with some different names.

    *If we are using WB2.xlsx the macro should do the above mentioned task and save in the some directory which I specify the path. No need of splitting the workbook.

    This is the coding which i have recorded. But unable to create with above conditions. I do not know VBA but i can understand the steps

    Please Login or Register  to view this content.
    Please note: My file size is around 100MB because of lots of rows and columns so thats why I am attaching the small sized sample file.
    Please Help!!
    Attached Files Attached Files

+ 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. Replies: 0
    Last Post: 12-12-2013, 08:29 PM
  2. [SOLVED] Macro that converts today()+3 in to text on 2 columns
    By phish3rz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-24-2012, 02:13 PM
  3. Macro that converts today()+3 in to text on 2 columns
    By phish3rz in forum Excel General
    Replies: 3
    Last Post: 12-24-2012, 02:03 PM
  4. Replies: 1
    Last Post: 01-12-2009, 03:05 AM
  5. vba converts text to values?
    By bill_s1416 in forum Excel General
    Replies: 1
    Last Post: 04-25-2005, 10:51 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