• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Macro written in 32 bit System - Not working in 64 bit System[ Win 10 and Office 2019 Prof]|Page 3|VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Macro written in 32 bit System - Not working in 64 bit System[ Win 10 and Office 2019 Prof]|Page 3|VBA & Macros|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumVBA & MacrosMacro written in 32 bit System - No…
sp_PrintTopic sp_TopicIcon
Macro written in 32 bit System - Not working in 64 bit System[ Win 10 and Office 2019 Prof]
Page: 123Jump to page
Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
41
December 17, 2020 - 6:39 pm
sp_Permalink sp_Print

Sorry I should have attached modified macro file for further modification...

Avatar
Miguel Santos
Member
Members
Level 0
Forum Posts: 80
Member Since:
February 20, 2020
sp_UserOfflineSmall Offline
42
December 18, 2020 - 12:31 am
sp_Permalink sp_Print

Hello everyone,

in relation to your post 38, I think it is better to create a new topic for this purpose, just so as not to mix all the subjects in one topic ... it would be easier for others to help, because the title of the topic would be related to the subject, and for memory future, easier to find by searching in the forum...



about missing references, it's not easy, but you could tell which ones are missing!




_ To start with, you could access the Excel VBA editor

_ In VBA editor window, click the "Tools" button in the menu bar

_ Then, from the drop down list, see which of the references that were selected, has "missing", the word "missing", is at the beginning of the reference name

_ Finally, click "Cancel" button to exit


Miguel,
Avatar
Miguel Santos
Member
Members
Level 0
Forum Posts: 80
Member Since:
February 20, 2020
sp_UserOfflineSmall Offline
43
December 18, 2020 - 12:44 am
sp_Permalink sp_Print

Hello,

 

I didn't understand what you meant in your posts 39,40,41

 

the path of the file to be attached must be complete (directory, name and extension), in your file, which I downloaded, the extensions for each file are missing

in my post 9, I already gave you a macro to get information about all the files in a folder, where in column ("B") the macro inserts the full path of the file

 

Miguel,

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
44
December 18, 2020 - 10:33 am
sp_Permalink sp_Print

So Sorry causing too much confusion so far all my poblems in these posts has been clear and settled; except the last item we want to show in the File name of the attachment to be stated in the Email Subject, like belwo

for example : Subject : AR Monthly report - 12349

File path :C\Data\12349.xlsx
File Name :12349.xlsx

for example : Subject : AR Monthly report - 456789

File path :C\Data\456789.xlsx
File Name :456789.xlsx

for example : Subject : AR Monthly report - 789654

File path :C\Data\789654.xlsx
File Name :789654.xlsx

In short in each mail item we want to show the attachment file name in the Subject, i hope I make clear myself for this request..

Avatar
Miguel Santos
Member
Members
Level 0
Forum Posts: 80
Member Since:
February 20, 2020
sp_UserOfflineSmall Offline
45
December 19, 2020 - 1:25 am
sp_Permalink sp_Print sp_EditHistory

hello,

 

Attached file with requested changes

 

Changes: (in Module1)

_ function has been added to retain the name and extension of all files that will be attached to the email

_ changes made in the email macro (procedures for checking the files to be attached and subject to being inserted in the email)

_ the procedure for retaining the name and extension of the files, is prepared to retain the name of all the files that will be attached, but I just put a blank space between the names (highlighted in red in the line below), if you want a symbol to divide the names, just add where the blank space is in the middle of the quotes

 

attachName = attachName & " " & VBA.Right(checkD, VBA.Len(checkD) - getLastOcurrence(checkD, "\") + 1)

 

Miguel,

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
46
December 19, 2020 - 10:47 am
sp_Permalink sp_Print

Really thanks again Miguel, will try on the new Macro with actual data.

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
47
December 22, 2020 - 4:45 pm
sp_Permalink sp_Print

Dear Miguel,

I try the macro with  live data, but File name still can not be attached in subject. Pls help further

So far no error code prompt, related attachment file can be loaded only File name do not appear in subject of the Email...

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
48
December 23, 2020 - 5:30 pm
sp_Permalink sp_Print

Thanks Miguel, problems finally fixed, ie file name retained in subject thanks support!

Page: 123Jump to page
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Michael Mollohan
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 215
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Ngoc Qui Nguyen
Clement Mansfield
Rose .
Bindu Menon
Baruch Zemer
Forum Stats:
Groups: 3
Forums: 24
Topics: 6352
Posts: 27779

 

Member Stats:
Guest Posters: 49
Members: 32319
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.