Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #21  
Old 08-01-2018, 06:02 AM
macropod's Avatar
macropod macropod is offline Need macro for automatic point value insertion based on the number of answer choices selected Windows 7 64bit Need macro for automatic point value insertion based on the number of answer choices selected Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I think a little patience on your part wouldn't go astray. It also would have been helpful had you specified your requirements in full from the outset. So far you've made it like getting blood out of a stone... This should also have been posted as a follow-up in the original thread alone. Threads merged.

Change:
If .Range.Text = "X" Then j = j + 1
to:
If Trim(.Range.Text) <> "" Then j = j + 1
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need macro for automatic point value insertion based on the number of answer choices selected Cursor location on first click -- insertion point stevec5088 Word 1 12-14-2016 02:45 PM
Need macro for automatic point value insertion based on the number of answer choices selected Move Insertion Point with VBA Grasor Word VBA 2 10-11-2016 08:50 PM
Need macro to fill data from different sheets based on selected item from drop down skorasika Excel Programming 1 03-13-2015 11:25 AM
Populate a table based on choices from drop down menu Xaand Word VBA 0 02-25-2014 11:08 AM
Need macro for automatic point value insertion based on the number of answer choices selected Insertion point not working pmahoney14 Word 1 05-24-2012 04:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:42 AM.


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