Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-20-2017, 01:03 PM
NoSparks NoSparks is offline Problems with protected worksheet and macros Windows 7 64bit Problems with protected worksheet and macros Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default



Quote:
A quick question about:
FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1)),

This was recording generated and I'm not sure of its function.
Me neither. It definitely has something to do with the number of delimitation's the macro recorder was looking at
but if I reduce the generated line to just this things still seem to work as I would expect so I wouldn't be too concerned.
Code:
.Range("C5:C14").TextToColumns Destination:=Range("C5"), DataType:=xlDelimited, Semicolon:=True
The macro recorder tends to include everything associated with what it's doing even when most of it may be default settings.

If you run into issues, attach a sample workbook to investigate.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting in protected worksheet john64 Excel 2 12-31-2016 12:04 PM
Problems with protected worksheet and macros Cell formating on Protected worksheet AHB Excel Programming 2 02-27-2012 10:25 AM
Problems with protected worksheet and macros Insert/Paste Picture into Protected Worksheet udea Excel 1 02-06-2012 07:43 PM
Problems with protected worksheet and macros Word mail merge from a protected Excel worksheet Platform Mail Merge 10 09-28-2011 05:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft