Quantcast
Channel: VBForums - Office Development

VB New User

I am new to VBA, want to explore features to use VBA in financial risk modelling

View Article


Need macro for Excel 2007 to auto save the file on external drive with name+time

Hi guys, I need a macro in Excel 2007 that does this: Whenever I open an excel 2007 file I need the macro to auto save the file on external drive with original name followed by date + time. For...

View Article


Convert Excel 2021 macro to Excel 2007 macro

Hi everyone I have this macro that I need to convert from Excel 2021 to Excel 2007. Code: Sub Auto_Open() 'Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) 'Saves the...

View Article

MsOf365 Update chart in Powerpoint presentation

Trying to update a chart in a Powerpoint presentation using VBA with data that comes from an Excel Workbook. The Excel workbook where the data comes from will not be available to the people that will...

View Article

Image may be NSFW.
Clik here to view.

Visual Basic in MS Access Using SQL

I have what I thought was a simple problem. If something the user does throws an error, I want the use to be able to tell the system to ignore all errors of that type. I set up a simple table to hold...

View Article


Image may be NSFW.
Clik here to view.

Macro to search and insert details based on a table

Need to find in tab "SORTED & APPLICATION" in column "B" by the finding criterias copy and past the respective Responsible and location details in the respective raw in the "SORTED &...

View Article

API declaration PtrSafe in VBA7 -- List of API Sub

Hi, In order to declare a Windows API-Sub or Function with the conditionnnal #If VBA7 Then Public Declare PtrSafe Sub ... #Else Public Declare Sub ... #End If how may I know if the Sub return a LongPtr...

View Article

Excel VBA Print Range to A4 without margins and squeezed range

Hello! Im building an Offer tool in excel with inventory and offer builder sheet. Im happy with the results so far. but due to throughout the whole process making sure the tool will be...

View Article



Latest Images