Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #46  
Old 04-14-2015, 10:08 AM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default


In a quick answer "Yes You Can".
Reply With Quote
  #47  
Old 04-14-2015, 11:06 AM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by charlesdh View Post
In a quick answer "Yes You Can".
Appreciate it.
Reply With Quote
  #48  
Old 04-14-2015, 11:37 AM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Ok, if help need LMK
Reply With Quote
  #49  
Old 04-14-2015, 11:47 AM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by charlesdh View Post
Ok, if help need LMK
Is it basically adding to the existing code? Sorry still an amateur at this.

I want the userform to have ComboBox1, choose a year and it runs your macro as it does now. Ive added the years (2015, 2016, 2017, 2018) in column F of Sheet1.
Reply With Quote
  #50  
Old 04-14-2015, 12:00 PM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

HI,

It would be easier to see what can you send the workbook. I think sent you a PM sometime ago with my email address.
Reply With Quote
  #51  
Old 04-14-2015, 12:18 PM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by charlesdh View Post
HI,

It would be easier to see what can you send the workbook. I think sent you a PM sometime ago with my email address.

I've attached the workbooks. Thank you sir!
Attached Files
File Type: xlsm Macro Data Test.xlsm (28.7 KB, 7 views)
File Type: xltx Vendor Template1.xltx (161.9 KB, 7 views)
Reply With Quote
  #52  
Old 04-14-2015, 12:32 PM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Thanks will look it over
Reply With Quote
  #53  
Old 04-14-2015, 12:40 PM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

HI,

When you select the year you just want he selected year to populate the vendor file?
Reply With Quote
  #54  
Old 04-14-2015, 01:01 PM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by charlesdh View Post
HI,

When you select the year you just want he selected year to populate the vendor file?
I would like the person to select the year and it populate just for the year chosen. Basically run like you have it, but just now for the specific year chosen in the userform.
Reply With Quote
  #55  
Old 04-14-2015, 05:02 PM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Hi,

I modified the code.
Attached Files
File Type: xlsm Macro Data Test.xlsm (30.1 KB, 8 views)
Reply With Quote
  #56  
Old 04-15-2015, 04:57 AM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by charlesdh View Post
Hi,

I modified the code.
Thank you.

When I run the code, it filters the first vendor for the correct year, but does not populate the Vendor Template1 sheet.
Reply With Quote
  #57  
Old 04-15-2015, 09:54 AM
charlesdh charlesdh is offline Creating multiple spreadsheets based on text Windows 7 32bit Creating multiple spreadsheets based on text Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

Hi,

The reason the data is not going to the Vendor file sheet is because the code you modified from "Sheet1, sheet2" to "Declaration , Product List". The template has sheet1 and sheet2.
If you change the sheet names to "Declaration , Product List". the code should work.
Reply With Quote
  #58  
Old 04-15-2015, 10:13 AM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Quote:
Originally Posted by charlesdh View Post
Hi,

The reason the data is not going to the Vendor file sheet is because the code you modified from "Sheet1, sheet2" to "Declaration , Product List". The template has sheet1 and sheet2.
If you change the sheet names to "Declaration , Product List". the code should work.
Thats right. Thanks for finding the error.

Ill edit that and test again.
Reply With Quote
  #59  
Old 04-15-2015, 10:53 AM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Now its telling me the following error.

Complile Error:
Variable not defined

Its highlighting the following code.
For Each Item In NoDupes

***Update***
The code works fine when running by itself. I receive an error only by running the macro via the Userform. Hope that helps.
Reply With Quote
  #60  
Old 04-16-2015, 09:42 AM
ksigcajun ksigcajun is offline Creating multiple spreadsheets based on text Windows 7 64bit Creating multiple spreadsheets based on text Office 2010 64bit
Advanced Beginner
Creating multiple spreadsheets based on text
 
Join Date: May 2014
Posts: 76
ksigcajun is on a distinguished road
Default

Hi,
I was able to correct the error.

Now when it runs, it creates a new spreadsheet for the vendor but does not populate on the sheets. Basically creating blank files.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating multiple spreadsheets based on text Creating a table that automatically updates based on entries of a heading in the document cahphoenix Word 3 10-29-2014 01:11 PM
Creating multiple spreadsheets based on text I need to add multiple values based on multiple criteria in a cell not sure what to do AUHAMM Excel 3 10-27-2014 09:11 PM
Creating multiple spreadsheets based on text Need help creating a Word document that is populated based on certain selected values alidaanish Word 1 01-10-2014 10:44 PM
Creating multiple spreadsheets based on text Creating Report based on 'Task Summary' and 'Sub Tasks' alijahed Project 1 02-01-2013 04:20 AM
Creating multiple spreadsheets based on text Creating formula based on if data is correct in cell MattMurdock Excel 1 08-06-2012 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:51 AM.


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