Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2017, 04:36 AM
jeffreybrown jeffreybrown is offline Auto populate cell based on certain situations Windows Vista Auto populate cell based on certain situations Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

First problem is those merged cells. You need to get rid of them if possible. Merged cells maybe are not 100% bad, but when you start using VBA code, merged cells cause extreme havoc.

Please see if you can fix the merged cells, but also, please attach a sample workbook with what you have and what you expect.
Reply With Quote
  #2  
Old 05-21-2017, 10:33 PM
YW3 YW3 is offline Auto populate cell based on certain situations Windows 10 Auto populate cell based on certain situations Office 2016
Novice
Auto populate cell based on certain situations
 
Join Date: Jan 2017
Posts: 10
YW3 is on a distinguished road
Default

In the Dummy workbook attached, A1 in this post would be B16 in excel, and A2, B19.

Sheet1: I've un-merged the cells in A2 but the code still doesn't work, the same error pops up.
Sheet2: I would think A1 is the problem then, and tried un-merging it. Still doesn't work. Same pop up error.

Due to other cells, I would prefer if A1 remains merged. And that if you got any alternatives suggestions, it does not involve changing column width.
Attached Files
File Type: xlsm 35537Dummy.xlsm (20.3 KB, 11 views)

Last edited by YW3; 05-22-2017 at 08:25 PM.
Reply With Quote
Reply

Tags
autopopulate



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto populate cell based on certain situations Excel to auto populate dates based on start and end patidallas22 Excel Programming 9 04-21-2014 03:14 PM
Auto populate cell based on certain situations trying to use vlookup to calculate several different situations in one cell heastlund Excel 3 11-21-2013 12:38 PM
Auto populate cell based on certain situations auto cell populate 2 Stevejd58 Excel 3 08-20-2013 04:23 PM
Auto populate cell based on certain situations auto cell populate Stevejd58 Excel 14 05-13-2013 02:22 AM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:52 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