Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 02-02-2016, 08:49 AM
zhead zhead is offline VBA formulas Windows 7 64bit VBA formulas Office 2010 64bit
Advanced Beginner
VBA formulas
 
Join Date: Mar 2015
Location: Texas
Posts: 32
zhead is on a distinguished road
Default

Thanks i built this macro to change it before I copy paste.


Sub Range_Example_2()
With Range("W2:AZ10")
.Value = .Value
End With
End Sub
Reply With Quote
  #17  
Old 02-03-2016, 01:00 PM
zhead zhead is offline VBA formulas Windows 7 64bit VBA formulas Office 2010 64bit
Advanced Beginner
VBA formulas
 
Join Date: Mar 2015
Location: Texas
Posts: 32
zhead is on a distinguished road
Default

It's me again. Sorry to be such a pain. I have this code below and if there are no blank cells in Range ("J2:J") i get a message box and the rest of the macros don't run. I can't figure out how to make it go to Call Macro4 if there are no blanks in cells in Range ("J2:J").

Range("J2:J").Select

Selection.SpecialCells(xlCellTypeBlanks).Select
Selection = Range("X6")
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0


End With


Call Macro4
Call Macro5
Call Macro5
Call Macro6
Call Macro7
Call Macro8
Call Macro8
Call Macro9
Call Macro10
Call Macro10
Call Macro11
Reply With Quote
  #18  
Old 02-09-2016, 03:41 AM
Debaser's Avatar
Debaser Debaser is offline VBA formulas Windows 7 64bit VBA formulas Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

The idea of a forum is not to post every single question you have as one long thread.

J2:J is not a valid reference.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Right and Len formulas together PDGood Excel 4 11-20-2015 06:50 AM
formulas MSA5455 Excel 3 12-19-2014 01:50 AM
Help with IF or ELSE Formulas tsaladyga Excel 4 07-23-2014 09:04 AM
Need help with formulas please paul_pearson Excel 0 03-20-2013 06:51 AM
VBA formulas IF Formulas mizzamzz Excel 1 07-08-2010 02:32 AM

Other Forums: Access Forums

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


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